Description: the tests expects instr() to be an unknown function but this was introduced in sqlite 3.7.15
Origin: vendor
Bug: http://rt.cpan.org/Public/Bug/Display.html?id=85963
Bug-Debian: https://bugs.debian.org/711418
Forwarded: no, upstream closed the ticket
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2014-09-14

--- a/t/02_sql_lite.t
+++ b/t/02_sql_lite.t
@@ -180,6 +180,10 @@
 ok(!$error,'No error occurs while setting AutoCommit => 1');
 ok($result,'Accessor with set (AutoCommit) returns true');
 
+SKIP: {
+skip "instr() exists since sqlite 3.7.15, this test assumes it's an unknown function", 1
+    if $DBD::SQLite::sqlite_version >= 3.7.15;
+
 # using bad function returns error
 $cv = AnyEvent->condvar;
 #$dbh->exec('select a_column from a_table where instr(a_column,?)','re',sub {return $cv->send($@) unless $_[0];$cv->send(undef,@_[1,2]);});
@@ -188,6 +192,7 @@
 my $hdl;
 ($error,$hdl,$result,$rv) = $cv->recv();
 like($error,qr{function}i,'Using an unknown function results in error');
+}
 
 # create the function
 $cv = AnyEvent->condvar;
