SQLite
Check-in [f755b4b2]
Not logged in
Overview
SHA1 Hash:f755b4b21c885f3e897c2a79fc7ac1220210e653
Date: 2013-07-19 23:58:41
User: mistachkin
Comment:Fixes to test numbering.
Tags And Properties
Context
2013-07-20
00:34
[ad0551e0] Add 'queryplantest' target to the MSVC makefile. (user: mistachkin, tags: trunk)
2013-07-19
23:58
[f755b4b2] Fixes to test numbering. (user: mistachkin, tags: trunk)
2013-07-18
20:28
[37abfe0c] Remove unused "codec" code from the command-line shell. (user: drh, tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/func.test.

10
11
12
13
14
15
16

17
18
19
20
21
22
23
...
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
#***********************************************************************
# This file implements regression tests for SQLite library.  The
# focus of this file is testing built-in functions.
#

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


# Create a table to work with.
#
do_test func-0.0 {
  execsql {CREATE TABLE tbl1(t1 text)}
  foreach word {this program is free software} {
    execsql "INSERT INTO tbl1 VALUES('$word')"
................................................................................
} {0 one 1 one}
set V "two"
do_execsql_test 13.8.5 {
  SELECT test_auxdata($V), $V FROM t4;
} {0 two 1 two}
db cache flush
set V "three"
do_execsql_test 2.3 {
  SELECT test_auxdata($V), $V FROM t4;
} {0 three 1 three}


# Make sure that a function with a very long name is rejected
do_test func-14.1 {
  catch {







>







 







|







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
...
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
#***********************************************************************
# This file implements regression tests for SQLite library.  The
# focus of this file is testing built-in functions.
#

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

# Create a table to work with.
#
do_test func-0.0 {
  execsql {CREATE TABLE tbl1(t1 text)}
  foreach word {this program is free software} {
    execsql "INSERT INTO tbl1 VALUES('$word')"
................................................................................
} {0 one 1 one}
set V "two"
do_execsql_test 13.8.5 {
  SELECT test_auxdata($V), $V FROM t4;
} {0 two 1 two}
db cache flush
set V "three"
do_execsql_test 13.8.6 {
  SELECT test_auxdata($V), $V FROM t4;
} {0 three 1 three}


# Make sure that a function with a very long name is rejected
do_test func-14.1 {
  catch {