summaryrefslogtreecommitdiff
path: root/lang/sql/adapter/sqlite-patches/31_eqp_test.patch
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /lang/sql/adapter/sqlite-patches/31_eqp_test.patch
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'lang/sql/adapter/sqlite-patches/31_eqp_test.patch')
-rw-r--r--lang/sql/adapter/sqlite-patches/31_eqp_test.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/sql/adapter/sqlite-patches/31_eqp_test.patch b/lang/sql/adapter/sqlite-patches/31_eqp_test.patch
new file mode 100644
index 00000000..b3f49810
--- /dev/null
+++ b/lang/sql/adapter/sqlite-patches/31_eqp_test.patch
@@ -0,0 +1,18 @@
+--- test/eqp.test
++++ test/eqp.test
+@@ -521,6 +521,7 @@
+ # documentation page eqp.html works. The C code is duplicated in test1.c
+ # and wrapped in Tcl command [print_explain_query_plan]
+ #
++db close
+ set boilerplate {
+ proc explain_query_plan {db sql} {
+ set stmt [sqlite3_prepare_v2 db $sql -1 DUMMY]
+@@ -556,6 +557,7 @@
+ 0 0 0 COMPOUND SUBQUERIES 1 AND 2 (EXCEPT)
+ }]
+
++sqlite3 db test.db
+ #-------------------------------------------------------------------------
+ # The following tests - eqp-7.* - test that queries that use the OP_Count
+ # optimization return something sensible with EQP.