Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add test cases for ticket [abe728bbc311]. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
4eb9bf0b93a564844f13369193659324 |
User & Date: | drh 2009-12-08 13:44:22.000 |
Context
2009-12-08
| ||
14:34 | Allow zero-length names for tables, columns, and indices. Fix for ticket [78e04e52eaf]. (check-in: 7b1cfd65a6 user: drh tags: trunk) | |
13:44 | Add test cases for ticket [abe728bbc311]. (check-in: 4eb9bf0b93 user: drh tags: trunk) | |
13:36 | Avoid dereferencing a null pointer when doing a multi-database comment where one or more of the databases is an ATTACH-ed TEMP database. Ticket [abe728bbc311d]. (check-in: f43e37e0a4 user: drh tags: trunk) | |
Changes
Changes to test/attach.test.
︙ | ︙ | |||
810 811 812 813 814 815 816 | do_test attach-9.3 { execsql { COMMIT; SELECT * FROM aux2.t1; } } {1 2 3 4} | > > | > > > > > > > > > > > > > > > > > > | 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 | do_test attach-9.3 { execsql { COMMIT; SELECT * FROM aux2.t1; } } {1 2 3 4} # Ticket [abe728bbc311d81334dae9762f0db87c07a98f79]. # Multi-database commit on an attached TEMP database. # do_test attach-10.1 { execsql { ATTACH '' AS noname; ATTACH ':memory:' AS inmem; BEGIN; CREATE TABLE noname.noname(x); CREATE TABLE inmem.inmem(y); CREATE TABLE main.main(z); COMMIT; SELECT name FROM noname.sqlite_master; SELECT name FROM inmem.sqlite_master; } } {noname inmem} do_test attach-10.2 { lrange [execsql { PRAGMA database_list; }] 9 end } {4 noname {} 5 inmem {}} finish_test |