# 2008 Jan 21## 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 sqlite3_exec interface## $Id: exec.test,v 1.1 2008/01/21 16:22:46 drh Exp $settestdir[filedirname$argv0]source$testdir/tester.tcldo_testexec-1.1{execsql{CREATETABLEt1(a,b);INSERTINTOt1VALUES(1,2);SELECT*FROMt1;}}{12}do_testexec-1.2{sqlite3_execdb{/* comment */;;;SELECT*FROMt1;/* comment */}}{0{ab12}}do_testexec-1.3{sqlite3db2test.dbdb2eval{CREATETABLEt2(x,y);}db2closesqlite3_execdb{SELECT*FROMt1}}{0{ab12}}finish_test