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

Side by Side Diff: third_party/sqlite/sqlite-src-3070603/test/walfault.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 # 2010 May 03 1 # 2010 May 03
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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 INSERT INTO abc VALUES(randomblob(1500)); 542 INSERT INTO abc VALUES(randomblob(1500));
543 } 543 }
544 } -test { 544 } -test {
545 faultsim_test_result {0 {0 10 10}} 545 faultsim_test_result {0 {0 10 10}}
546 faultsim_integrity_check 546 faultsim_integrity_check
547 set nRow [db eval {SELECT count(*) FROM abc}] 547 set nRow [db eval {SELECT count(*) FROM abc}]
548 if {!(($nRow==2 && $testrc) || $nRow==3)} { error "Bad db content" } 548 if {!(($nRow==2 && $testrc) || $nRow==3)} { error "Bad db content" }
549 } 549 }
550 550
551 finish_test 551 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/test/walcrash2.test ('k') | third_party/sqlite/sqlite-src-3070603/test/walhook.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698