Hello, SQLite version 3.8.10.2 2015-05-20 18:17:19 sqlite> select 0x1g; 1 sqlite> select 1g; Error: unrecognized token: "1g"
The illegal number 0x1g is not rejected.
Maybe, in tokenice.c,
This block should not return directly but check that z[i] is not an IdChar
if( z[0]=='0' && (z[1]=='x' || z[1]=='X') && sqlite3Isxdigit(z[2]) ){
for(i=3; sqlite3Isxdigit(z[i]); i++){}
return i;
}
Regards.

