~ubuntu-branches/ubuntu/hardy/sqlite3/hardy

« back to all changes in this revision

Viewing changes to test/vtab9.test

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2007-05-17 02:01:42 UTC
  • mfrom: (1.1.8 upstream) (3.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20070517020142-o79d5uduuhfbtknv
Tags: 3.3.17-1
* New upstream release.
* Use minor version as well in sqlite3.pc (closes: #424235).

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
# focus of this file inserting into virtual tables from a SELECT
13
13
# statement.
14
14
#
15
 
# $Id: vtab9.test,v 1.1 2006/08/29 18:46:14 drh Exp $
 
15
# $Id: vtab9.test,v 1.2 2007/04/16 15:06:26 danielk1977 Exp $
16
16
 
17
17
set testdir [file dirname $argv0]
18
18
source $testdir/tester.tcl
46
46
  }
47
47
} {1 1 2 3 2 a b c 3 {} x 123.456 4 hi 123456789 -12345}
48
48
 
 
49
# do_test vtab9-2.1 {
 
50
#   execsql {
 
51
#     CREATE TABLE t4(a);
 
52
#     CREATE VIRTUAL TABLE t5 USING echo(t4);
 
53
#     INSERT INTO t4 VALUES('hello');
 
54
#     SELECT rowid, a FROM t5;
 
55
#   }
 
56
# } {1 hello}
 
57
# do_test vtab9-2.2 {
 
58
#   execsql {
 
59
#     INSERT INTO t5(rowid, a) VALUES(1, 'goodbye');
 
60
#   }
 
61
# } {1 hello}
 
62
# do_test vtab9-2.3 {
 
63
#   execsql {
 
64
#     REPLACE INTO t5(rowid, a) VALUES(1, 'goodbye');
 
65
#     SELECT * FROM t5;
 
66
#   }
 
67
# } {1 goodbye}
 
68
 
49
69
unset -nocomplain echo_module_begin_fail
50
70
finish_test