From e056cc9d8279fdb76ffd77dfeaed4fb13f95cef0 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 8 Jun 2012 13:18:07 +0200 Subject: t/check_dbi.t: Don't use 'INSERT … VALUES (a,b), (c,d)' with SQLite3. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Older versions of SQLite3 don't seem to support that. --- plugins/t/check_dbi.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/t') diff --git a/plugins/t/check_dbi.t b/plugins/t/check_dbi.t index e542ba53..c24b5a8c 100644 --- a/plugins/t/check_dbi.t +++ b/plugins/t/check_dbi.t @@ -49,7 +49,8 @@ SKIP: { $filename =~ s/^\/tmp\///; system("$sqlite3 /tmp/$filename 'CREATE TABLE test(a INT, b TEXT)'"); - system("$sqlite3 /tmp/$filename 'INSERT INTO test VALUES (1, \"text1\"), (2, \"text2\")'"); + system("$sqlite3 /tmp/$filename 'INSERT INTO test VALUES (1, \"text1\")'"); + system("$sqlite3 /tmp/$filename 'INSERT INTO test VALUES (2, \"text2\")'"); my $check_cmd = "./check_dbi -d sqlite3 -o sqlite3_dbdir=/tmp -o dbname=$filename"; -- cgit v1.2.3