3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing:
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.
10 #*************************************************************************
13 source [file join [file dirname [info script]] fts5_common.tcl]
14 set testprefix fts5limits
19 CREATE VIRTUAL TABLE ft USING fts5(x);
22 # Default limit for expression depth is 256
24 foreach {tn nRepeat op bErr} {
33 set L [string repeat "abc " $nRepeat]
34 set Q [join $L " $op "]
38 set res "1 {fts5 expression tree is too large (maximum depth 256)}"
41 do_catchsql_test 1.$tn {