--- sql/sqlite/parser3sqlite.C 2012/06/15 09:09:33 1.13 +++ sql/sqlite/parser3sqlite.C 2019/11/30 21:51:35 1.16 @@ -3,18 +3,17 @@ (c) Dmitry "Creator" Bobrik, 2004 */ -//static const char *RCSId="$Id: parser3sqlite.C,v 1.13 2012/06/15 09:09:33 moko Exp $"; #include "config_includes.h" #include "pa_sql_driver.h" -//#include "windows.h" // for messagebox + +volatile const char * IDENT_PARSER3SQLITE_C="$Id: parser3sqlite.C,v 1.16 2019/11/30 21:51:35 moko Exp $" IDENT_PA_SQL_DRIVER_H; #define NO_CLIENT_LONG_LONG #include "sqlite3.h" #include "ltdl.h" -#define MAX_COLS 500 #define MAX_STRING 0x400 #define MAX_NUMBER 20 @@ -285,7 +284,7 @@ public: } if(!connection.multi_statements && next_statement_length>0){ // multi statements was not allowed but pzTail point to not empty one //sqlite3_free((char*)pzTail); - _throw(connection, "multi statements are not allowed until opption ?multi_statements=1 in connect string is specified."); + _throw(connection, "multi statements are not allowed until option ?multi_statements=1 in connect string is specified."); } #define CHECK(afailed) if(afailed){ failed=true; goto cleanup; } @@ -295,12 +294,6 @@ public: if(!column_count){ // empty result: insert|delete|update|... rc=sqlite3_step(SQL); } else { - if(column_count>MAX_COLS) - column_count=MAX_COLS; - - int column_types[MAX_COLS]; - bool transcode_column[MAX_COLS]; - for(int i=0; i