On 2/24/16, Miroslav Rajcic <miroslav.rajcic at inet.hr> wrote: > Hello, > I have a program using sqlite for document storage. Sqlite layer has > been quite stable until I replaced v3.10.2 with 3.11. > > Error: > Sqlite error (code: 1, txt: SQL logic error or missing database): > unrecognized token: "x" > > > Breaking with debugger at the error inside sqlite3RunParser, it was > processing this query: > "CREATE TABLE x(type text,name text,tbl_name text,rootpage integer,sql > text)" > > Why would the parser fail on its own internal SQL? > Any idea to point me to the possible source of error ?
That is very curious. Why would this work fine for countless millions of queries, but then suddenly break on yours? What compile-time options are you using? Can you send me your database via private email? -- D. Richard Hipp drh at sqlite.org