Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: third_party/sqlite/src/test/misc4.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/misc1.test ('k') | third_party/sqlite/src/test/misc5.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/misc4.test
diff --git a/third_party/sqlite/src/test/misc4.test b/third_party/sqlite/src/test/misc4.test
index 59c1d118ac7c5f785b5f4cd7101b0078c1f7f2b2..79e756ec631bb111c31eab0f0e4a38be1e9fc758 100644
--- a/third_party/sqlite/src/test/misc4.test
+++ b/third_party/sqlite/src/test/misc4.test
@@ -208,4 +208,25 @@ do_test misc4-6.2 {
}
} {1}
+# 2015-05-15. Error message formatting problem.
+#
+db close
+sqlite3 db :memory:
+do_catchsql_test misc4-7.1 {
+ CREATE TABLE t7(x);
+ PRAGMA writable_schema=ON;
+ UPDATE sqlite_master SET sql='CREATE TABLE [M%s%s%s%s%s%s%s%s%s%s%s%s%s';
+ VACUUM;
+} {1 {unrecognized token: "[M%s%s%s%s%s%s%s%s%s%s%s%s%s"}}
+
+# 2015-05-18. Use of ephermeral Mem content after the cursor that holds
+# the canonical content has moved on.
+#
+do_execsql_test misc4-7.2 {
+ CREATE TABLE t0(a,b);
+ INSERT INTO t0 VALUES(1,0),(2,0);
+ UPDATE t0 SET b=9 WHERE a AND (SELECT a FROM t0 WHERE a);
+ SELECT * FROM t0 ORDER BY +a;
+} {1 9 2 9}
+
finish_test
« no previous file with comments | « third_party/sqlite/src/test/misc1.test ('k') | third_party/sqlite/src/test/misc5.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698