--- sql/sqlite/parser3sqlite.C 2012/04/19 21:33:08 1.12 +++ sql/sqlite/parser3sqlite.C 2017/01/13 16:54:37 1.14 @@ -3,7 +3,7 @@ (c) Dmitry "Creator" Bobrik, 2004 */ -//static const char *RCSId="$Id: parser3sqlite.C,v 1.12 2012/04/19 21:33:08 moko Exp $"; +//static const char *RCSId="$Id: parser3sqlite.C,v 1.14 2017/01/13 16:54:37 moko Exp $"; #include "config_includes.h" @@ -14,7 +14,6 @@ #include "sqlite3.h" #include "ltdl.h" -#define MAX_COLS 500 #define MAX_STRING 0x400 #define MAX_NUMBER 20 @@ -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