diff options
author | drh <> | 2024-03-19 19:56:39 +0000 |
---|---|---|
committer | drh <> | 2024-03-19 19:56:39 +0000 |
commit | 36f01f2ee3da6698b85d29602a673232a9751fa4 (patch) | |
tree | 232f1d56c5ab52f91a78c5ef06c4e3486dc5d11a /src/sqliteInt.h | |
parent | 4aa21492d134e4713e7d0b9a2fa0df69af0595f3 (diff) | |
parent | a10c2a9055fd7426cdd19a58c279d06cb794e027 (diff) | |
download | sqlite-36f01f2ee3da6698b85d29602a673232a9751fa4.tar.gz sqlite-36f01f2ee3da6698b85d29602a673232a9751fa4.zip |
Return the error "ambiguous column name: rowid", instead of "no such column: rowid", when a "rowid" reference is ambiguous.
FossilOrigin-Name: 0615bdae2dfc70c7e0416a28e89ffde31fa44ed4b3dac46e5ef20eed0d89e58c
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 9fdc721e4..dba64c71b 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -4726,10 +4726,13 @@ void sqlite3MutexWarnOnContention(sqlite3_mutex*); # define EXP754 (((u64)0x7ff)<<52) # define MAN754 ((((u64)1)<<52)-1) # define IsNaN(X) (((X)&EXP754)==EXP754 && ((X)&MAN754)!=0) +# define IsOvfl(X) (((X)&EXP754)==EXP754) int sqlite3IsNaN(double); + int sqlite3IsOverflow(double); #else -# define IsNaN(X) 0 -# define sqlite3IsNaN(X) 0 +# define IsNaN(X) 0 +# define sqlite3IsNaN(X) 0 +# define sqlite3IsOVerflow(X) 0 #endif /* |