diff options
author | drh <drh@noemail.net> | 2002-11-04 19:32:25 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2002-11-04 19:32:25 +0000 |
commit | 647cb0e159cfe8a42691bd29a8e1820efa1a171c (patch) | |
tree | 59d259d53524a7e79d67f7a0cb0765b153de0e2b /test/func.test | |
parent | 7bc09d3111dbea26be4d894d72b9eb63d5d2bf07 (diff) | |
download | sqlite-647cb0e159cfe8a42691bd29a8e1820efa1a171c.tar.gz sqlite-647cb0e159cfe8a42691bd29a8e1820efa1a171c.zip |
Add the sqlite_version() SQL function as a built-in. (CVS 777)
FossilOrigin-Name: 7c8c0e7633dca00bde7bc7c22075f688c034c200
Diffstat (limited to 'test/func.test')
-rw-r--r-- | test/func.test | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/func.test b/test/func.test index 5f37fe66a..fcb82f9b9 100644 --- a/test/func.test +++ b/test/func.test @@ -11,7 +11,7 @@ # This file implements regression tests for SQLite library. The # focus of this file is testing built-in functions. # -# $Id: func.test,v 1.15 2002/08/13 23:02:58 drh Exp $ +# $Id: func.test,v 1.16 2002/11/04 19:32:26 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -329,4 +329,12 @@ do_test func-10.5 { } } {1.234} +# Test the built-in sqlite_version(*) SQL function. +# +do_test func-11.1 { + execsql { + SELECT sqlite_version(*); + } +} [sqlite -version] + finish_test |