/ Check-in [59e2e2c6]
Login

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

Overview
Comment:Fix cut-and-paste error affecting a couple of attach tests on Windows.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 59e2e2c6301e189a1a6601c681bbb0937a5cd14e
User & Date: shaneh 2009-12-03 04:32:06
Context
2009-12-03
04:40
Fix a couple of compiler warnings under MSVC. check-in: e3aa0870 user: shaneh tags: trunk
04:32
Fix cut-and-paste error affecting a couple of attach tests on Windows. check-in: 59e2e2c6 user: shaneh tags: trunk
01:01
Add links from C/C++ interfaces to their equivalent SQL functions. Comment changes only - no changes to code. check-in: acce10f7 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/attach.test.

797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
    CREATE TABLE aux1.t1(a, b);
    INSERT INTO aux1.t1 VALUES(1, 2);
    ATTACH 'test4.db' AS aux2;
    SELECT * FROM aux2.t1;
  }
} {1 2}
do_test attach-9.2 {
  file delete -force test4.db
  catchsql {
    BEGIN;
      INSERT INTO aux1.t1 VALUES(3, 4);
      INSERT INTO aux2.t1 VALUES(5, 6);
  }
} {1 {database is locked}}
do_test attach-9.3 {
  file delete -force test4.db
  execsql {
    COMMIT;
    SELECT * FROM aux2.t1;
  }
} {1 2 3 4}


finish_test







<







<








797
798
799
800
801
802
803

804
805
806
807
808
809
810

811
812
813
814
815
816
817
818
    CREATE TABLE aux1.t1(a, b);
    INSERT INTO aux1.t1 VALUES(1, 2);
    ATTACH 'test4.db' AS aux2;
    SELECT * FROM aux2.t1;
  }
} {1 2}
do_test attach-9.2 {

  catchsql {
    BEGIN;
      INSERT INTO aux1.t1 VALUES(3, 4);
      INSERT INTO aux2.t1 VALUES(5, 6);
  }
} {1 {database is locked}}
do_test attach-9.3 {

  execsql {
    COMMIT;
    SELECT * FROM aux2.t1;
  }
} {1 2 3 4}


finish_test