# 2002 March 6
#
# The author disclaims copyright to this source code.  In place of
# a legal notice, here is a blessing:
#
#    May you do good and not evil.
#    May you find forgiveness for yourself and forgive others.
#    May you share freely, never taking more than you give.
#
#***********************************************************************
# This file implements regression tests for SQLite library.
#
# This file implements tests for the PRAGMA command.
#

set testdir [file dirname $argv0]
source $testdir/tester.tcl
set ::testprefix pragma3

ifcapable !pragma {
  finish_test
  return
}

if {[permutation] != "bt"} {
  do_execsql_test 1.0 { CREATE TABLE t1(x) }
  do_execsql_test 1.1 { PRAGMA main.lsm_work(1,1); } {0}
}

finish_test
