Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a test-suite error made in check-in (2132) (CVS 2136) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
48c7eb7fb9fbc2166aaa7dbdb7c7e92c |
User & Date: | danielk1977 2004-11-22 10:20:13.000 |
Context
2004-11-22
| ||
11:51 | Ensure tests pass when SQLITE_OMIT_TRIGGER is defined. (CVS 2137) (check-in: 53894988ac user: danielk1977 tags: trunk) | |
10:20 | Fix a test-suite error made in check-in (2132) (CVS 2136) (check-in: 48c7eb7fb9 user: danielk1977 tags: trunk) | |
10:02 | Back out changes allowing writes to tables that have open cursors. (CVS 2135) (check-in: ec6b48f4b2 user: danielk1977 tags: trunk) | |
Changes
Changes to test/trigger1.test.
︙ | ︙ | |||
316 317 318 319 320 321 322 323 324 | integrity_check trigger-5.1 # Create a trigger with the same name as a table. Make sure the # trigger works. Then drop the trigger. Make sure the table is # still there. # do_test trigger-6.1 { execsql {SELECT type, name FROM sqlite_master} | > > > > | | | | | 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 | integrity_check trigger-5.1 # Create a trigger with the same name as a table. Make sure the # trigger works. Then drop the trigger. Make sure the table is # still there. # set view_v1 {} ifcapable view { set view_v1 {view v1} } do_test trigger-6.1 { execsql {SELECT type, name FROM sqlite_master} } [concat $view_v1 {table t2}] do_test trigger-6.2 { execsql { CREATE TRIGGER t2 BEFORE DELETE ON t2 BEGIN SELECT RAISE(ABORT,'deletes are not allows'); END; SELECT type, name FROM sqlite_master; } } [concat $view_v1 {table t2 trigger t2}] do_test trigger-6.3 { catchsql {DELETE FROM t2} } {1 {deletes are not allows}} do_test trigger-6.4 { execsql {SELECT * FROM t2} } {3 4 7 8} do_test trigger-6.5 { db close sqlite3 db test.db execsql {SELECT type, name FROM sqlite_master} } [concat $view_v1 {table t2 trigger t2}] do_test trigger-6.6 { execsql { DROP TRIGGER t2; SELECT type, name FROM sqlite_master; } } [concat $view_v1 {table t2}] do_test trigger-6.7 { execsql {SELECT * FROM t2} } {3 4 7 8} do_test trigger-6.8 { db close sqlite3 db test.db execsql {SELECT * FROM t2} |
︙ | ︙ |