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

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

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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
(Empty)
1 # 2016-05-10
2 #
3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing:
5 #
6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give.
9 #
10 #***********************************************************************
11
12 set testdir [file dirname $argv0]
13 source $testdir/tester.tcl
14 set testprefix temptable3
15
16 db close
17 sqlite3 db {}
18 do_execsql_test 1.1 {
19 PRAGMA cache_size = 1;
20 PRAGMA page_size = 1024;
21 PRAGMA auto_vacuum = 2;
22 CREATE TABLE t1(x);
23 INSERT INTO t1 VALUES( randomblob(800) );
24 INSERT INTO t1 VALUES( randomblob(800) );
25 CREATE TABLE t2(x);
26 PRAGMA integrity_check;
27 } {ok}
28
29 db close
30 sqlite3 db {}
31 do_execsql_test 1.2 {
32 PRAGMA cache_size = 1;
33 PRAGMA auto_vacuum = 2;
34 CREATE TABLE t1(x);
35 CREATE TABLE t2(x UNIQUE);
36 INSERT INTO t2 VALUES(1), (2), (3);
37 DROP TABLE t1;
38 PRAGMA integrity_check;
39 } {ok}
40
41 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/temptable2.test ('k') | third_party/sqlite/src/test/temptrigger.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698