From e542758add4847df0534b097aa59453bcfb4d177 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Mon, 11 Jan 2010 07:36:26 +0000 Subject: [PATCH] oops, forgot to rename --- t/40_multiple_statements.t | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/t/40_multiple_statements.t b/t/40_multiple_statements.t index c7bbbd5..7f98693 100644 --- a/t/40_multiple_statements.t +++ b/t/40_multiple_statements.t @@ -34,14 +34,14 @@ plan tests => 21; # "sqlite_unprepared_statements" attributes. my $dbh = connect_ok( RaiseError => 1, - sqlite_allows_multiple_statements => 1, + sqlite_allow_multiple_statements => 1, ); - ok $dbh->{sqlite_allows_multiple_statements}, "allows multiple statements"; + ok $dbh->{sqlite_allow_multiple_statements}, "allows multiple statements"; eval { $dbh->do(q/ create table foo (id integer); insert into foo (id) values (1); insert into foo (id) values (2); - /, { sqlite_allows_multiple_statements => 1 })}; + /, { sqlite_allow_multiple_statements => 1 })}; ok !$@, "do succeeds anyway"; diag $@ if $@; @@ -54,9 +54,9 @@ plan tests => 21; # Do it more explicitly my $dbh = connect_ok( RaiseError => 1, - sqlite_allows_multiple_statements => 1, + sqlite_allow_multiple_statements => 1, ); - ok $dbh->{sqlite_allows_multiple_statements}, "allows multiple statements"; + ok $dbh->{sqlite_allow_multiple_statements}, "allows multiple statements"; my $statement = q/ create table foo (id integer); insert into foo (id) values (1); @@ -83,9 +83,9 @@ plan tests => 21; # Placeholders my $dbh = connect_ok( RaiseError => 1, - sqlite_allows_multiple_statements => 1, + sqlite_allow_multiple_statements => 1, ); - ok $dbh->{sqlite_allows_multiple_statements}, "allows multiple statements"; + ok $dbh->{sqlite_allow_multiple_statements}, "allows multiple statements"; eval { $dbh->do(q/ create table foo (id integer); insert into foo (id) values (?); @@ -103,9 +103,9 @@ plan tests => 21; # Do it more explicitly my $dbh = connect_ok( RaiseError => 1, - sqlite_allows_multiple_statements => 1, + sqlite_allow_multiple_statements => 1, ); - ok $dbh->{sqlite_allows_multiple_statements}, "allows multiple statements"; + ok $dbh->{sqlite_allow_multiple_statements}, "allows multiple statements"; my $statement = q/ create table foo (id integer); insert into foo (id) values (?);