diff options
author | dan <Dan Kennedy> | 2024-01-20 16:18:04 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2024-01-20 16:18:04 +0000 |
commit | 3eae6664a00961baf3d011229794cd98371aa9cf (patch) | |
tree | ca27af420556088a868ac97298cb50cd4c71489b /src/sqliteInt.h | |
parent | 4c43f1881e86893c22ead7a72be6b14bbcd051eb (diff) | |
download | sqlite-3eae6664a00961baf3d011229794cd98371aa9cf.tar.gz sqlite-3eae6664a00961baf3d011229794cd98371aa9cf.zip |
Allow "_" characters to appear following any digit in an integer or real SQL literal.
FossilOrigin-Name: 401650aaccbc99246bd4e1ff37a28b78f528178aee2f294d87b9f7fecd7432bb
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 79a36e060..c4aaf9d20 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -609,6 +609,8 @@ # define SQLITE_OMIT_ALTERTABLE #endif +#define SQLITE_DIGIT_SEPARATOR '_' + /* ** Return true (non-zero) if the input is an integer that is too large ** to fit in 32-bits. This macro is used inside of various testcase() @@ -4792,6 +4794,7 @@ int sqlite3ErrorToParser(sqlite3*,int); void sqlite3Dequote(char*); void sqlite3DequoteExpr(Expr*); void sqlite3DequoteToken(Token*); +void sqlite3DequoteNumber(Expr*); void sqlite3TokenInit(Token*,char*); int sqlite3KeywordCode(const unsigned char*, int); int sqlite3RunParser(Parse*, const char*); |