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

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

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « third_party/sqlite/src/test/trigger3.test ('k') | third_party/sqlite/src/test/triggerA.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 2005 August 18 1 # 2005 August 18
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 # This test corrupts the database file so it must be the last test 106 # This test corrupts the database file so it must be the last test
107 # in the series. 107 # in the series.
108 # 108 #
109 do_test trigger7-99.1 { 109 do_test trigger7-99.1 {
110 execsql { 110 execsql {
111 PRAGMA writable_schema=on; 111 PRAGMA writable_schema=on;
112 UPDATE sqlite_master SET sql='nonsense'; 112 UPDATE sqlite_master SET sql='nonsense';
113 } 113 }
114 db close 114 db close
115 sqlite3 db test.db 115 catch { sqlite3 db test.db }
116 catchsql { 116 catchsql { DROP TRIGGER t2r5 }
117 DROP TRIGGER t2r5
118 }
119 } {1 {malformed database schema (t2r12) - near "nonsense": syntax error}} 117 } {1 {malformed database schema (t2r12) - near "nonsense": syntax error}}
120 118
121 finish_test 119 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/trigger3.test ('k') | third_party/sqlite/src/test/triggerA.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698