]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix a couple comment typos and one overly long line. No functional changes. level-pseudocolumn
authormistachkin <mistachkin@noemail.net>
Tue, 21 Jan 2014 01:13:45 +0000 (01:13 +0000)
committermistachkin <mistachkin@noemail.net>
Tue, 21 Jan 2014 01:13:45 +0000 (01:13 +0000)
FossilOrigin-Name: c57deced09c67085852eb17d4f6f881416daf24c

manifest
manifest.uuid
src/resolve.c
src/sqliteInt.h

index afe5fdea0faa13673b55d363b9df53c5616d71e3..75fd454ed725c1c11909f2b3e9a8937de2ade807 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\ssupport\sfor\sthe\sLEVEL\spseudo-column\sin\sthe\srecursive\spart\sof\na\scommon\stable\sexpression.\s\sLEVEL\shas\sthe\svalue\sof\s1\son\sthe\sfirst\siteration\nand\ssuccessively\slarger\sinteger\svalues\sof\ssubsequent\siterations.\s\sIt\scannot\nhave\sa\stable\squalifier.\s\sActual\scolumns\snamed\s"level"\scan\sstill\sbe\saccessed\nby\sincluding\sthe\stable\sname\squalifier.
-D 2014-01-21T00:19:43.076
+C Fix\sa\scouple\scomment\stypos\sand\sone\soverly\slong\sline.\s\sNo\sfunctional\schanges.
+D 2014-01-21T01:13:45.746
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 2ef13430cd359f7b361bb863504e227b25cc7f81
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -217,14 +217,14 @@ F src/pragma.c ed409ce4104cf4d9de6ead40ace70974f124853b
 F src/prepare.c 677521ab7132615a8a26107a1d1c3132f44ae337
 F src/printf.c 85d07756e45d7496d19439dcae3e6e9e0090f269
 F src/random.c d10c1f85b6709ca97278428fd5db5bbb9c74eece
-F src/resolve.c f35795a7d6fdb2f500ccbe9229e14a4b69e1e140
+F src/resolve.c 3e22bf604677036d4aed6ddb91705c37938be4c5
 F src/rowset.c 64655f1a627c9c212d9ab497899e7424a34222e0
 F src/select.c a2709e1b91731d65bc0839974ff95cdc58cd81bd
 F src/shell.c 9f3bc02a658b8f61d2cbe60cfc482f660c1c6c48
 F src/sqlite.h.in eed7f7d66a60daaa7b4a597dcd9bad87aad9611b
 F src/sqlite3.rc 11094cc6a157a028b301a9f06b3d03089ea37c3e
 F src/sqlite3ext.h 886f5a34de171002ad46fae8c36a7d8051c190fc
-F src/sqliteInt.h d5a534b30be3f0002a1cde919113f399d8b81a79
+F src/sqliteInt.h bd0ae72872841059d55f928c330c2c53efff509f
 F src/sqliteLimit.h 164b0e6749d31e0daa1a4589a169d31c0dec7b3d
 F src/status.c 7ac05a5c7017d0b9f0b4bcd701228b784f987158
 F src/table.c 2cd62736f845d82200acfa1287e33feb3c15d62e
@@ -1153,7 +1153,7 @@ F tool/vdbe-compress.tcl 0cf56e9263a152b84da86e75a5c0cdcdb7a47891
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh d1a6de74685f360ab718efda6265994b99bbea01
 F tool/win/sqlite.vsix 030f3eeaf2cb811a3692ab9c14d021a75ce41fff
-P 7d9e22187daaa3160b875a1df17b924969bf718e
-R 868eac95940900577c41ddbd3ee20aa3
-U drh
-Z 41ceab9a1912e9f5aae2b29b90c57305
+P cc1cb3217800ff666a00bf4f544a5a477589bc1b
+R d7b88acbea11aa8a9631e3e1df1ea620
+U mistachkin
+Z 3b56f57b80b503ffdcf535e8f4844624
index 49ef00d45e351b16ac4384ceac9629fd71db6e30..bd8ff957d61a8b2e524824bc6ad9b29e443c06bf 100644 (file)
@@ -1 +1 @@
-cc1cb3217800ff666a00bf4f544a5a477589bc1b
\ No newline at end of file
+c57deced09c67085852eb17d4f6f881416daf24c
\ No newline at end of file
index 94183866291015fe26e88bc5479711d72a66755e..fcf50da526798e4f1cea56a3f4f4ba11a984ea89 100644 (file)
@@ -268,11 +268,15 @@ static int lookupName(
     SrcList *pSrcList = pNC->pSrcList;
 
 #ifndef SQLITE_OMIT_CTE
-    /* The identifier "LEVEL", with a table or database qualifier and within a
-    ** recursive common table expression, resolves to the special LEVEL pseudo-column.
-    ** To access table names called "level", add a table qualifier.
+    /* The identifier "LEVEL", without a table or database qualifier and
+    ** within a recursive common table expression, resolves to the special
+    ** LEVEL pseudo-column.  To access table names called "level", add a
+    ** table qualifier.
     */
-    if( (pNC->ncFlags&NC_Recursive)!=0 && zTab==0 && sqlite3_stricmp(zCol,"level")==0 ){
+    if( (pNC->ncFlags&NC_Recursive)!=0
+     && zTab==0
+     && sqlite3_stricmp(zCol,"level")==0
+    ){
       assert( cnt==0 );
       cnt = 1;
       newOp = TK_LEVEL;
index cbb12294a86ec401bf080e9d8f968f4694907dd9..edcdcd09a822b2c4c3f05419dbc3256b5f42f283 100644 (file)
@@ -2107,7 +2107,7 @@ struct NameContext {
 #define NC_IsCheck   0x04    /* True if resolving names in a CHECK constraint */
 #define NC_InAggFunc 0x08    /* True if analyzing arguments to an agg func */
 #define NC_PartIdx   0x10    /* True if resolving a partial index WHERE */
-#define NC_Recursive 0x20    /* Resolvingn a recursive CTE definition */
+#define NC_Recursive 0x20    /* Resolving a recursive CTE definition */
 #define NC_UsesLevel 0x40    /* The LEVEL pseudo-column has been seen */
 
 /*