SQLite

Check-in [48947e2b75]
Login

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

Overview
Comment:Remove an (explain) accidentally left in tkt2832.test. (CVS 4618)
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 48947e2b75d39c5be0d08fe1c7b888d9065f9116
User & Date: danielk1977 2007-12-12 18:05:21.000
Context
2007-12-12
22:24
Minor cleanup changes on the OP_StackDepth opcode. Added the sidedelete test for additional testing of ticket #2832. (CVS 4619) (check-in: c068940932 user: drh tags: trunk)
18:05
Remove an (explain) accidentally left in tkt2832.test. (CVS 4618) (check-in: 48947e2b75 user: danielk1977 tags: trunk)
17:42
Try to find some more stack leaks by adding OP_StackDepth to loops in DML statements. None were found. (CVS 4617) (check-in: 12c3029b1e user: danielk1977 tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to test/tkt2832.test.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 2007 Dec 12
#
# 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 is to test that ticket #2832 has been fixed.
#
# $Id: tkt2832.test,v 1.2 2007/12/12 16:06:23 danielk1977 Exp $
#

set testdir [file dirname $argv0]
source $testdir/tester.tcl

do_test tkt2832-1.1 {
  execsql {













|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 2007 Dec 12
#
# 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 is to test that ticket #2832 has been fixed.
#
# $Id: tkt2832.test,v 1.3 2007/12/12 18:05:21 danielk1977 Exp $
#

set testdir [file dirname $argv0]
source $testdir/tester.tcl

do_test tkt2832-1.1 {
  execsql {
55
56
57
58
59
60
61
62
63
64
65
66
67
      DELETE FROM t3 WHERE a = old.a + 1;
    END;
    INSERT INTO t3 VALUES(1, 2);
    INSERT INTO t3 VALUES(2, 3);
  }
} {}
do_test tkt2832-3.2 {
  explain { DELETE FROM t3 WHERE 1 }
  execsql { DELETE FROM t3 WHERE 1 }
} {}

finish_test








<





55
56
57
58
59
60
61

62
63
64
65
66
      DELETE FROM t3 WHERE a = old.a + 1;
    END;
    INSERT INTO t3 VALUES(1, 2);
    INSERT INTO t3 VALUES(2, 3);
  }
} {}
do_test tkt2832-3.2 {

  execsql { DELETE FROM t3 WHERE 1 }
} {}

finish_test