diff options
author | drh <drh@noemail.net> | 2020-07-06 12:13:05 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-07-06 12:13:05 +0000 |
commit | d1d89140c037d3d7c7641da37ca3bff8df146bed (patch) | |
tree | dbde3179df8613a70a52e21fd43b2173e1e75ab8 /src/sqliteInt.h | |
parent | a78d2c052837f9eac464c175a8924fbe173f7643 (diff) | |
download | sqlite-d1d89140c037d3d7c7641da37ca3bff8df146bed.tar.gz sqlite-d1d89140c037d3d7c7641da37ca3bff8df146bed.zip |
Increase the resolution of the vdbe opcode counters to 64 bits, as
apparently some users run single prepared statements that go for
longer than 4 billion instructions. See forum post
"[https://sqlite.org/forum/forumpost/d07949dc94|Possible freeze in the progress loop]"
FossilOrigin-Name: 612eb590ea44fd402e630f2d62558beb7ce57d7d0ba113c8b72ea60a895c5a43
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 9fcca1181..a862f4a6c 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -902,6 +902,7 @@ typedef INT16_TYPE LogEst; ** compilers. */ #define LARGEST_INT64 (0xffffffff|(((i64)0x7fffffff)<<32)) +#define LARGEST_UINT64 (0xffffffff|(((u64)0xffffffff)<<32)) #define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64) /* |