interplane.Get Omega
Read in your language

sqlite

[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.

Brought by drakestapleton

branch master Branches Tags History

sqlite / ext / fts5 / test / fts5bigtok2.test

28 lines · 775 bytes Raw Blame History
1# 2026 June 19
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# This file implements regression tests for SQLite library. The
12# focus of this script is testing the FTS5 module.
13#
14
15source [file join [file dirname [info script]] fts5_common.tcl]
16set testprefix fts5bigtok2
17return_if_no_fts5
18
19set big [string repeat a 1080000000]
20do_execsql_test 1.0 {
21 CREATE VIRTUAL TABLE t USING fts5(x);
22}
23
24do_catchsql_test 1.1 { INSERT INTO t VALUES($big); } {0 {}}
25
26set big {}
27
28finish_test