/ Check-in [4c77fbbe]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:New test case for SQLITE_TOOBIG errors.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4c77fbbe5d54248821161d708d0631fab65659bef31f95a61af681d4639f5918
User & Date: drh 2019-04-09 21:37:27
Context
2019-04-10
00:58
Do not place arbitrary restrictions on the length of the failure message for a uniqueness constraint. check-in: 037da798 user: drh tags: trunk
2019-04-09
21:37
New test case for SQLITE_TOOBIG errors. check-in: 4c77fbbe user: drh tags: trunk
21:32
Improved reporting of SQLITE_TOOBIG errors while parsing. check-in: ea2d4b65 user: drh tags: trunk
20:50
Fix a problem caused by a small SQLITE_LIMIT_LENGTH value and a CREATE TABLE with a very large name. Closed-Leaf check-in: 9b5d4088 user: dan tags: toobig-fix
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/sqllimits1.test.

   885    885     ))))
   886    886   } "1 {too many columns in result set}"
   887    887   
   888    888   
   889    889   foreach {key value} [array get saved] {
   890    890     catch {set $key $value}
   891    891   }
          892  +
          893  +#-------------------------------------------------------------------------
          894  +# At one point the following caused an assert() to fail.
          895  +#
          896  +sqlite3_limit db SQLITE_LIMIT_LENGTH 10000
          897  +set nm [string repeat x 10000]
          898  +do_catchsql_test sqllimits1-17.1 "
          899  +  CREATE TABLE $nm (x PRIMARY KEY)
          900  +" {1 {string or blob too big}}
          901  +
   892    902   finish_test