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

Side by Side Diff: third_party/sqlite/sqlite-src-3070603/test/rdonly.test

Issue 826543003: [sql] Import reference version of SQLite 3.7.6.3. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: gitignore forgot some files for me. Created 5 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 unified diff | Download patch
OLDNEW
1 # 2007 April 24 1 # 2007 April 24
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 ifcapable wal { set ro_version 03 } 75 ifcapable wal { set ro_version 03 }
76 do_test rdonly-1.6 { 76 do_test rdonly-1.6 {
77 hexio_write test.db 18 $ro_version ; # write-version 77 hexio_write test.db 18 $ro_version ; # write-version
78 hexio_write test.db 24 11223344 ; # change-counter 78 hexio_write test.db 24 11223344 ; # change-counter
79 catchsql { 79 catchsql {
80 INSERT INTO t1 VALUES(2); 80 INSERT INTO t1 VALUES(2);
81 } 81 }
82 } {1 {attempt to write a readonly database}} 82 } {1 {attempt to write a readonly database}}
83 83
84 finish_test 84 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/test/randexpr1.test ('k') | third_party/sqlite/sqlite-src-3070603/test/reindex.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698