Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Make sure check-in (4976) also fixes ticket #2935. (CVS 4981) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e3f798b1cafc3458941cf86ac4f9d426 |
User & Date: | drh 2008-04-10 16:42:59.000 |
Context
2008-04-10
| ||
16:47 | Disable nuisance warnings on borland compilers. ticket #2936. (CVS 4982) (check-in: 1e094ecfd7 user: drh tags: trunk) | |
16:42 | Make sure check-in (4976) also fixes ticket #2935. (CVS 4981) (check-in: e3f798b1ca user: drh tags: trunk) | |
16:01 | Give file scope to the sqlite3Apis constant. Ticket #3024. (CVS 4980) (check-in: 30c5086068 user: drh tags: trunk) | |
Changes
Changes to test/vtab1.test.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 2006 June 10 # # The author disclaims copyright to this source code. In place of # a legal notice, here is a blessing: # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is creating and dropping virtual tables. # | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # 2006 June 10 # # The author disclaims copyright to this source code. In place of # a legal notice, here is a blessing: # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is creating and dropping virtual tables. # # $Id: vtab1.test,v 1.52 2008/04/10 16:42:59 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl ifcapable !vtab||!schema_pragmas { finish_test return |
︙ | ︙ | |||
604 605 606 607 608 609 610 | do_test vtab1-6-2 { execsql { CREATE TABLE treal(a PRIMARY KEY, b, c); CREATE VIRTUAL TABLE techo USING echo(treal); SELECT name FROM sqlite_master WHERE type = 'table'; } } {treal techo} | | > > > | 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 | do_test vtab1-6-2 { execsql { CREATE TABLE treal(a PRIMARY KEY, b, c); CREATE VIRTUAL TABLE techo USING echo(treal); SELECT name FROM sqlite_master WHERE type = 'table'; } } {treal techo} do_test vtab1-6-3.1.1 { execsql { PRAGMA count_changes=ON; INSERT INTO techo VALUES(1, 2, 3); } } {1} do_test vtab1-6-3.1.2 { db changes } {1} do_test vtab1-6-3.2 { execsql { SELECT * FROM techo; } } {1 2 3} |
︙ | ︙ | |||
662 663 664 665 666 667 668 | } {1} do_test vtab1-6-6.2 { execsql { SELECT rowid FROM techo; } } {10} | | > > | 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 | } {1} do_test vtab1-6-6.2 { execsql { SELECT rowid FROM techo; } } {10} do_test vtab1-6-7.1.1 { execsql { INSERT INTO techo VALUES(11,12,13); } } {1} do_test vtab1-6-7.1.2 { db changes } {1} do_test vtab1-6-7.2 { execsql { SELECT * FROM techo ORDER BY a; } } {11 12 13 523 2 3} |
︙ | ︙ | |||
708 709 710 711 712 713 714 715 716 717 718 719 720 721 | db changes } {2} do_test vtab1-6-8.4 { execsql { SELECT * FROM techo ORDER BY a; } } {} file delete -force test2.db file delete -force test2.db-journal sqlite3 db2 test2.db execsql { CREATE TABLE techo(a PRIMARY KEY, b, c); } db2 | > | 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 | db changes } {2} do_test vtab1-6-8.4 { execsql { SELECT * FROM techo ORDER BY a; } } {} execsql {PRAGMA count_changes=OFF} file delete -force test2.db file delete -force test2.db-journal sqlite3 db2 test2.db execsql { CREATE TABLE techo(a PRIMARY KEY, b, c); } db2 |
︙ | ︙ |