2013/12/31 big stone <stonebi...@gmail.com>:
> Hello "CTE in SQLite" fans,
>
> To get CTE in SQLite, I guess we must answer by the example the fears
> expressed by Simon and Rsmith.

Not necessary. I noticed that CTE was just merged to SQLite's trunk,
so it apparently will be part of SQLite 2.8.3.

I'm not familiar with CTE, I didn't try it yet, just had a quick
glance at the code. I'm wondering if there isn't a #define
missing here (see patch below):

Regards,
         Jan Nijtmans


Index: src/sqliteInt.h
==================================================================
--- src/sqliteInt.h
+++ src/sqliteInt.h
@@ -3355,10 +3355,11 @@
 #ifndef SQLITE_OMIT_CTE
   With *sqlite3WithAdd(Parse*,With*,Token*,ExprList*,Select*);
   void sqlite3WithDelete(sqlite3*,With*);
   void sqlite3WithPush(Parse*, With*, u8);
 #else
+#define sqlite3WithAdd(x,y,z,z1,z2)
 #define sqlite3WithPush(x,y,z)
 #define sqlite3WithDelete(x,y)
 #endif

 /* Declarations for functions in fkey.c. All of these are replaced by
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to