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

Side by Side Diff: third_party/sqlite/src/test/async3.test

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 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 September 5 1 # 2007 September 5
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 23 matching lines...) Expand all
34 chocolate/banana/vanilla/file.db 34 chocolate/banana/vanilla/file.db
35 chocolate//banana/vanilla/file.db 35 chocolate//banana/vanilla/file.db
36 chocolate/./banana//vanilla/file.db 36 chocolate/./banana//vanilla/file.db
37 chocolate/banana/./vanilla/file.db 37 chocolate/banana/./vanilla/file.db
38 chocolate/banana/../banana/vanilla/file.db 38 chocolate/banana/../banana/vanilla/file.db
39 chocolate/banana/./vanilla/extra_bit/../file.db 39 chocolate/banana/./vanilla/extra_bit/../file.db
40 } 40 }
41 41
42 do_test async3-1.0 { 42 do_test async3-1.0 {
43 file mkdir [file join chocolate banana vanilla] 43 file mkdir [file join chocolate banana vanilla]
44 file delete -force chocolate/banana/vanilla/file.db 44 forcedelete chocolate/banana/vanilla/file.db
45 file delete -force chocolate/banana/vanilla/file.db-journal 45 forcedelete chocolate/banana/vanilla/file.db-journal
46 } {} 46 } {}
47 47
48 do_test async3-1.1 { 48 do_test async3-1.1 {
49 sqlite3 db chocolate/banana/vanilla/file.db 49 sqlite3 db chocolate/banana/vanilla/file.db
50 execsql { 50 execsql {
51 CREATE TABLE abc(a, b, c); 51 CREATE TABLE abc(a, b, c);
52 BEGIN; 52 BEGIN;
53 INSERT INTO abc VALUES(1, 2, 3); 53 INSERT INTO abc VALUES(1, 2, 3);
54 } 54 }
55 } {} 55 } {}
(...skipping 11 matching lines...) Expand all
67 incr N 67 incr N
68 } 68 }
69 69
70 db close 70 db close
71 71
72 sqlite3async_control halt idle 72 sqlite3async_control halt idle
73 sqlite3async_wait 73 sqlite3async_wait
74 sqlite3async_control halt never 74 sqlite3async_control halt never
75 sqlite3async_shutdown 75 sqlite3async_shutdown
76 finish_test 76 finish_test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698