zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #19166
[Merge] lp:~zorba-coders/zorba/sqllite-module_null into lp:zorba/sqlite-module
Matthias Brantner has proposed merging lp:~zorba-coders/zorba/sqllite-module_null into lp:zorba/sqlite-module.
Commit message:
changed tests to use canonical JSONiq
Requested reviews:
Matthias Brantner (matthias-brantner)
Till Westmann (tillw)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/sqllite-module_null/+merge/154569
--
https://code.launchpad.net/~zorba-coders/zorba/sqllite-module_null/+merge/154569
Your team Zorba Coders is subscribed to branch lp:zorba/sqlite-module.
=== modified file 'test/Queries/test10.xq'
--- test/Queries/test10.xq 2013-01-05 21:24:30 +0000
+++ test/Queries/test10.xq 2013-03-21 01:38:22 +0000
@@ -1,6 +1,6 @@
import module namespace s = "http://www.zorba-xquery.com/modules/sqlite";;
-let $db := s:connect("", { "open-read-only" : false, "open-create" : false })
+let $db := s:connect("", { "open-read-only" : false(), "open-create" : false() })
return {
variable $inst := s:execute-update($db, "CREATE TABLE smalltable (id INTEGER primary key asc, name TEXT not null, calories TEXT)");
=== modified file 'test/Queries/test12.xq'
--- test/Queries/test12.xq 2013-01-09 15:07:19 +0000
+++ test/Queries/test12.xq 2013-03-21 01:38:22 +0000
@@ -1,6 +1,6 @@
import module namespace s = "http://www.zorba-xquery.com/modules/sqlite";;
-let $db := s:connect("non-existent-file.db", {"open-read-only" : false, "open-create" : false})
+let $db := s:connect("non-existent-file.db", {"open-read-only" : false(), "open-create" : false()})
return {
variable $results := s:execute-query($db, "SELECT id, name, calories FROM smalltable");
=== modified file 'test/Queries/test17.xq'
--- test/Queries/test17.xq 2013-01-09 15:07:19 +0000
+++ test/Queries/test17.xq 2013-03-21 01:38:22 +0000
@@ -1,6 +1,6 @@
import module namespace s = "http://www.zorba-xquery.com/modules/sqlite";;
-let $db := s:connect("non-existent-file.db", {"non-existent-option" : true})
+let $db := s:connect("non-existent-file.db", {"non-existent-option" : true()})
return {
variable $results := s:execute-query($db, "SELECT id, name, calories FROM smalltable");
Follow ups