summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-24 14:48:40 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-24 14:48:40 +0000
commiteb97edc2cc4492c50c07b824703a1a9bb5853c87 (patch)
tree1d820f94376e2120a3f980312d417542819ec6ae /dev-db/sqlite/files
parentStable on alpha, bug #288699 (diff)
downloadgentoo-2-eb97edc2cc4492c50c07b824703a1a9bb5853c87.tar.gz
gentoo-2-eb97edc2cc4492c50c07b824703a1a9bb5853c87.tar.bz2
gentoo-2-eb97edc2cc4492c50c07b824703a1a9bb5853c87.zip
Fix tests from icu.test.
(Portage version: 14724-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/sqlite/files')
-rw-r--r--dev-db/sqlite/files/sqlite-3.6.19-icu.test.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/sqlite-3.6.19-icu.test.patch b/dev-db/sqlite/files/sqlite-3.6.19-icu.test.patch
new file mode 100644
index 000000000000..414e5747bf2f
--- /dev/null
+++ b/dev-db/sqlite/files/sqlite-3.6.19-icu.test.patch
@@ -0,0 +1,19 @@
+http://www.sqlite.org/cvstrac/tktview?tn=4042
+
+--- test/icu.test
++++ test/icu.test
+@@ -26,12 +26,12 @@
+ execsql {INSERT INTO test1 VALUES(1,2,1.1,2.2,'hello','world')}
+ proc test_expr {name settings expr result} {
+ do_test $name [format {
+- db one {
++ lindex [db eval {
+ BEGIN;
+ UPDATE test1 SET %s;
+ SELECT %s FROM test1;
+ ROLLBACK;
+- }
++ }] 0
+ } $settings $expr] $result
+ }
+