xref: /sqlite-3.40.0/test/temptable3.test (revision d12bc602)
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
12set testdir [file dirname $argv0]
13source $testdir/tester.tcl
14set testprefix temptable3
15
16db close
17sqlite3 db {}
18do_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
29finish_test
30