Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add a test to verify the sqlite3_column_name() interface returns the correct value when the query is of the form: "SELECT rowid,* FROM...". Ticket #3429. (CVS 5785) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e90d5a5515f7096e247e6059cf77f808 |
User & Date: | drh 2008-10-09 15:56:46.000 |
Context
2008-10-09
| ||
17:57 | New speed testing tools. (CVS 5786) (check-in: 2d427746d5 user: drh tags: trunk) | |
15:56 | Add a test to verify the sqlite3_column_name() interface returns the correct value when the query is of the form: "SELECT rowid,* FROM...". Ticket #3429. (CVS 5785) (check-in: e90d5a5515 user: drh tags: trunk) | |
15:56 | Update the version number to 3.6.4. (CVS 5784) (check-in: 4b973ac98d user: drh tags: trunk) | |
Changes
Changes to test/colname.test.
︙ | ︙ | |||
9 10 11 12 13 14 15 | # #*********************************************************************** # This file implements regression tests for SQLite library. # # The focus of this file is testing how SQLite generates the names # of columns in a result set. # | | | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # #*********************************************************************** # This file implements regression tests for SQLite library. # # The focus of this file is testing how SQLite generates the names # of columns in a result set. # # $Id: colname.test,v 1.6 2008/10/09 15:56:46 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl # Rules (applied in order): # # (1) If there is an AS clause, use it. |
︙ | ︙ | |||
299 300 301 302 303 304 305 306 | do_test colname-6.18 { execsql2 {SELECT "[a]", max("[a]") AS m FROM t6} } {{[a]} 4 m 4} do_test colname-6.19 { execsql2 {SELECT "`a`", max([`a`]) AS m FROM t6} } {`a` 5 m 5} finish_test | > > > > > > > > > > > > > | 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 | do_test colname-6.18 { execsql2 {SELECT "[a]", max("[a]") AS m FROM t6} } {{[a]} 4 m 4} do_test colname-6.19 { execsql2 {SELECT "`a`", max([`a`]) AS m FROM t6} } {`a` 5 m 5} # Ticket #3429 # We cannot find anything wrong, but it never hurts to add another # test case. # do_test colname-7.1 { db eval { CREATE TABLE t7(x INTEGER PRIMARY KEY, y); INSERT INTO t7 VALUES(1,2); } execsql2 {SELECT rowid, * FROM t7} } {x 1 x 1 y 2} finish_test |