aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordan <Dan Kennedy>2024-02-27 10:52:41 +0000
committerdan <Dan Kennedy>2024-02-27 10:52:41 +0000
commit1ffaa03adcbdd8c057e292fc994b90dd6cb71306 (patch)
treec438305df0f195e40caa98e9699210d6eb58c366 /src/sqliteInt.h
parentf79b0bdcbfb46164cfd665d256f2862bf3f42a7c (diff)
parent406eb5a146e06c29a5f1d8b8e25c10d125945a20 (diff)
downloadsqlite-1ffaa03adcbdd8c057e292fc994b90dd6cb71306.tar.gz
sqlite-1ffaa03adcbdd8c057e292fc994b90dd6cb71306.zip
Allow "_" characters to appear between any two digits in an integer, real or hexadecimal SQL literal.
FossilOrigin-Name: 0e6700f43f133510c8049b2c5a2610cb3be29da7ed4d39b1fa65dc22c4cf529b
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 1c1055f42..f5920748b 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()
@@ -4795,6 +4797,7 @@ int sqlite3ErrorToParser(sqlite3*,int);
void sqlite3Dequote(char*);
void sqlite3DequoteExpr(Expr*);
void sqlite3DequoteToken(Token*);
+void sqlite3DequoteNumber(Parse*, Expr*);
void sqlite3TokenInit(Token*,char*);
int sqlite3KeywordCode(const unsigned char*, int);
int sqlite3RunParser(Parse*, const char*);