aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-07-06 12:13:05 +0000
committerdrh <drh@noemail.net>2020-07-06 12:13:05 +0000
commitd1d89140c037d3d7c7641da37ca3bff8df146bed (patch)
treedbde3179df8613a70a52e21fd43b2173e1e75ab8 /src/sqliteInt.h
parenta78d2c052837f9eac464c175a8924fbe173f7643 (diff)
downloadsqlite-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.h1
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)
/*