]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix the EQP logic so that it correctly reports OOM errors while formatting
authordrh <drh@noemail.net>
Mon, 15 Nov 2010 16:29:30 +0000 (16:29 +0000)
committerdrh <drh@noemail.net>
Mon, 15 Nov 2010 16:29:30 +0000 (16:29 +0000)
"detail" text.

FossilOrigin-Name: 136c2ac24ee1663bc0904bce1a619ecef3d11c1c

manifest
manifest.uuid
src/where.c

index 1850b20e5805be21ce6d6870869f72f971402672..728cad39984b1440e73357f40b987612d574abbd 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,8 @@
-C Change\ssome\stest\scases\sto\saccount\sfor\sthe\snew\sEXPLAIN\sQUERY\sPLAN\soutput.
-D 2010-11-15T16:12:59
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+C Fix\sthe\sEQP\slogic\sso\sthat\sit\scorrectly\sreports\sOOM\serrors\swhile\sformatting\n"detail"\stext.
+D 2010-11-15T16:29:31
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in e7a59672eaeb04408d1fa8501618d7501a3c5e39
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -239,7 +242,7 @@ F src/vtab.c b297e8fa656ab5e66244ab15680d68db0adbec30
 F src/wal.c f26b8d297bd11cb792e609917f9d4c6718ac8e0e
 F src/wal.h c1aac6593a0b02b15dc625987e619edeab39292e
 F src/walker.c 3112bb3afe1d85dc52317cb1d752055e9a781f8f
-F src/where.c 5a982c342355588f40b1b02e1127000fe8e0a3fe
+F src/where.c f4023c5f2fa083f411f7d6fc8d277b7770196847
 F test/aggerror.test a867e273ef9e3d7919f03ef4f0e8c0d2767944f2
 F test/alias.test 4529fbc152f190268a15f9384a5651bbbabc9d87
 F test/all.test 6745008c144bd2956d58864d21f7b304689c1cce
@@ -886,7 +889,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P 547bc2c232cbf7b7ff295287ab8fddb880e517f9
-R 863ad3e83f428e5bfb8e9c7834fdadd1
-U dan
-Z a86da5f4e7ed6219a15e362cd53c69a5
+P 88a854e18fc6bd619fa8d8a911abff50a9b76b9e
+R 78739c63fada478c89d9f3f543943196
+U drh
+Z 248d217c09792745bf7000ce93c07b4f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFM4V/uoxKgR168RlERAp6dAJ48aRXSbqzfVJi4Eb9vXXw3gcK9oQCZAYNE
+zpwmsrlBP5VyywolG2MEBs0=
+=8eQE
+-----END PGP SIGNATURE-----
index ad8b495d455f3d5d0eff87c38dd8ca9188acf7b2..f4e89ee29e6aace622f131aa3b99bca96d494646 100644 (file)
@@ -1 +1 @@
-88a854e18fc6bd619fa8d8a911abff50a9b76b9e
\ No newline at end of file
+136c2ac24ee1663bc0904bce1a619ecef3d11c1c
\ No newline at end of file
index 7c7eae17faaae524464c85b72e503ccce09fea4b..93473669426ac9377f2caeb64167c86327bf3e9f 100644 (file)
@@ -3183,6 +3183,7 @@ static char *explainIndexRange(sqlite3 *db, WhereLevel *pLevel, Table *pTab){
     return 0;
   }
   sqlite3StrAccumInit(&txt, 0, 0, SQLITE_MAX_LENGTH);
+  txt.db = db;
   sqlite3StrAccumAppend(&txt, " (", 2);
   for(i=0; i<nEq; i++){
     explainAppendTerm(&txt, i, aCol[aiColumn[i]].zName, "=");