From 998847196d0c5d2723dc7b61aee23c832f39592e Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Sat, 13 Oct 2018 17:48:20 +0900 Subject: [PATCH] use func to support older DBI --- t/virtual_table/rt_124941.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/virtual_table/rt_124941.t b/t/virtual_table/rt_124941.t index 5221ab5..705096a 100644 --- a/t/virtual_table/rt_124941.t +++ b/t/virtual_table/rt_124941.t @@ -12,7 +12,7 @@ use Test::NoWarnings; my $dbh = connect_ok(sqlite_trace => 2); # register the module and declare the virtual table -$dbh->sqlite_create_module(perl => "DBD::SQLite::VirtualTable::PerlData"); +$dbh->func(perl => "DBD::SQLite::VirtualTable::PerlData", 'create_module'); # create a table, reference_values, with 2 columns # ref_value - a text column which will have strings and numeric data (as text)