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

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

Issue 5626002: Update sqlite to 3.7.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/third_party/sqlite/src
Patch Set: Update version in doc. Created 10 years 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
Index: third_party/sqlite/src/test/auth.test
diff --git a/third_party/sqlite/src/test/auth.test b/third_party/sqlite/src/test/auth.test
index 916d8994668dc34047037a4f2c63602d26c2310a..bb974ea3ee3c662c12f51b6a014dba9af6894882 100644
--- a/third_party/sqlite/src/test/auth.test
+++ b/third_party/sqlite/src/test/auth.test
@@ -1976,12 +1976,12 @@ ifcapable analyze {
ANALYZE;
}
set ::authargs
- } {t4 {} main {}}
+ } {t4 {} main {} t2 {} main {}}
do_test auth-1.295 {
execsql {
SELECT count(*) FROM sqlite_stat1;
}
- } 2
+ } 3
proc auth {code args} {
if {$code=="SQLITE_ANALYZE"} {
set ::authargs [concat $::authargs $args]
@@ -1999,7 +1999,7 @@ ifcapable analyze {
execsql {
SELECT count(*) FROM sqlite_stat1;
}
- } 2
+ } 3
} ;# ifcapable analyze
@@ -2248,15 +2248,16 @@ do_test auth-4.3 {
set authargs
} [list \
SQLITE_UPDATE v1 x main {} \
- SQLITE_INSERT v1chng {} main r2 \
- SQLITE_READ v1 x main r2 \
- SQLITE_READ v1 x main r2 \
SQLITE_SELECT {} {} {} v1 \
SQLITE_READ t2 a main v1 \
SQLITE_READ t2 b main v1 \
SQLITE_SELECT {} {} {} {} \
SQLITE_READ v1 x main v1 \
+ SQLITE_INSERT v1chng {} main r2 \
+ SQLITE_READ v1 x main r2 \
+ SQLITE_READ v1 x main r2 \
]
+
do_test auth-4.4 {
execsql {
CREATE TRIGGER r3 INSTEAD OF DELETE ON v1 BEGIN

Powered by Google App Engine
This is Rietveld 408576698