SQLite

Check-in [800fb3bf06]
Login

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

Overview
Comment:Don't run the tests in alter3.test if SQLITE_OMIT_ALTERTABLE is defined. (CVS 2395)
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 800fb3bf06f73af53af57f5b172c85406af374ad
User & Date: danielk1977 2005-03-17 07:00:55.000
Context
2005-03-17
12:33
Fixed a typo in alter3.test. (CVS 2396) (check-in: 698be25d3e user: drh tags: trunk)
07:00
Don't run the tests in alter3.test if SQLITE_OMIT_ALTERTABLE is defined. (CVS 2395) (check-in: 800fb3bf06 user: danielk1977 tags: trunk)
05:06
Update to keyword list for ALTER TABLE ... ADD COLUMN command. (CVS 2394) (check-in: 173e26961f user: danielk1977 tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to test/alter3.test.
9
10
11
12
13
14
15
16
17
18
19







20
21
22
23
24
25
26
27
#
#*************************************************************************
# This file implements regression tests for SQLite library.  The
# focus of this script is testing that SQLite can handle a subtle 
# file format change that may be used in the future to implement
# "ALTER TABLE ... ADD COLUMN".
#
# $Id: alter3.test,v 1.1 2005/03/17 05:03:41 danielk1977 Exp $
#

set testdir [file dirname $argv0]







source $testdir/tester.tcl

# Test Organisation:
# ------------------
#
# alter3-1.*: Test that ALTER TABLE correctly modifies the CREATE TABLE sql.
# alter3-2.*: Test error messages.
# alter3-3.*: Test adding columns with default value NULL.







|



>
>
>
>
>
>
>
|







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
#*************************************************************************
# This file implements regression tests for SQLite library.  The
# focus of this script is testing that SQLite can handle a subtle 
# file format change that may be used in the future to implement
# "ALTER TABLE ... ADD COLUMN".
#
# $Id: alter3.test,v 1.2 2005/03/17 07:00:55 danielk1977 Exp $
#

set testdir [file dirname $argv0]

# If SQLITE_OMIT_ALTERTABLE is defined, omit this file.
ifcapable !altertable {
  finish_test
  return
}

ource $testdir/tester.tcl

# Test Organisation:
# ------------------
#
# alter3-1.*: Test that ALTER TABLE correctly modifies the CREATE TABLE sql.
# alter3-2.*: Test error messages.
# alter3-3.*: Test adding columns with default value NULL.