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

Unified Diff: third_party/sqlite/src/test/without_rowid5.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/without_rowid3.test ('k') | third_party/sqlite/src/test/without_rowid6.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/without_rowid5.test
diff --git a/third_party/sqlite/src/test/without_rowid5.test b/third_party/sqlite/src/test/without_rowid5.test
index 45e047befe6d9d8dc68f21ac70f0b954fa31366d..31a440ad87a0e2ee7b8c1a5242a10684dd499df8 100644
--- a/third_party/sqlite/src/test/without_rowid5.test
+++ b/third_party/sqlite/src/test/without_rowid5.test
@@ -132,9 +132,13 @@ do_execsql_test without_rowid5-5.1 {
INSERT INTO ipk VALUES('rival','bonus'); -- ok to insert non-integer key
SELECT * FROM ipk;
} {rival bonus}
-do_catchsql_test without_rowid5-5.2 {
+do_catchsql_test without_rowid5-5.2a {
+ BEGIN;
INSERT INTO ipk VALUES(NULL,'sample'); -- no automatic generation of keys
} {1 {NOT NULL constraint failed: ipk.key}}
+do_execsql_test without_rowid5-5.2b {
+ ROLLBACK;
+} {}
# EVIDENCE-OF: R-33142-02092 AUTOINCREMENT does not work on WITHOUT
# ROWID tables.
@@ -185,8 +189,7 @@ do_execsql_test without_rowid5-5.9 {
# EVIDENCE-OF: R-12643-30541 The incremental blob I/O mechanism does not
# work for WITHOUT ROWID tables.
#
-# EVIDENCE-OF: R-25760-33257 The sqlite3_blob_open() interface will fail
-# for a WITHOUT ROWID table.
+# EVIDENCE-OF: R-40134-30296 Table zTable is a WITHOUT ROWID table
#
do_execsql_test without_rowid5-6.1 {
CREATE TABLE b1(a INTEGER PRIMARY KEY, b BLOB) WITHOUT ROWID;
« no previous file with comments | « third_party/sqlite/src/test/without_rowid3.test ('k') | third_party/sqlite/src/test/without_rowid6.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698