# # 2002 May 24 # # 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 joins, including outer joins, where # there are a large number of tables involved in the join. # # $Id: join3_28.test,v 1.1.2.1 2004/07/22 16:08:39 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl catch {unset result} set result {} for {set N 1} {$N<=40} {incr N} { lappend result $N do_test join3-1.$N { execsql "CREATE TABLE t${N}(x);" execsql "INSERT INTO t$N VALUES($N)" set sql "SELECT * FROM t1" for {set i 2} {$i<=$N} {incr i} {append sql ", t$i"} execsql $sql } $result } finish_test