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

Unified Diff: third_party/sqlite/src/test/misc5.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/misc4.test ('k') | third_party/sqlite/src/test/misc8.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/misc5.test
diff --git a/third_party/sqlite/src/test/misc5.test b/third_party/sqlite/src/test/misc5.test
index 14ba44ead0a1d239c2e81c5bcfa0e02416b28222..30176b80824ff33f1f0e0d7e292a09c6b02dcb82 100644
--- a/third_party/sqlite/src/test/misc5.test
+++ b/third_party/sqlite/src/test/misc5.test
@@ -583,6 +583,24 @@ do_test misc5-7.1 {
catchsql $sql
} {1 {parser stack overflow}}
+# Parser stack overflow is silently ignored when it occurs while parsing the
+# schema and PRAGMA writable_schema is turned on.
+#
+do_test misc5-7.2 {
+ sqlite3 db2 :memory:
+ catchsql {
+ CREATE TABLE t1(x UNIQUE);
+ PRAGMA writable_schema=ON;
+ UPDATE sqlite_master SET sql='CREATE table t(o CHECK(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((;VALUES(o)';
+ BEGIN;
+ CREATE TABLE t2(y);
+ ROLLBACK;
+ DROP TABLE IF EXISTS D;
+ } db2
+} {0 {}}
+db2 close
+
+
# Ticket #1911
#
ifcapable compound {
« no previous file with comments | « third_party/sqlite/src/test/misc4.test ('k') | third_party/sqlite/src/test/misc8.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698