diff --git a/t/40server_prepare.t b/t/40server_prepare.t index 6eb2cf1..4938ad9 100644 --- a/t/40server_prepare.t +++ b/t/40server_prepare.t @@ -14,7 +14,7 @@ $test_dsn.= ";mariadb_server_prepare=1;mariadb_server_prepare_disable_fallback=1 my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password, { RaiseError => 1, PrintError => 0, AutoCommit => 0 }); -plan tests => 29; +plan tests => 28; ok(defined $dbh, "connecting"); @@ -77,7 +77,8 @@ my $error_handler_called = 0; $dbh->{HandleError} = sub { $error_handler_called = 1; die $_[0]; }; eval { $dbh->prepare($non_preparable_statement); }; $dbh->{HandleError} = undef; -ok($error_handler_called, "Non-preparable statement '$non_preparable_statement' is not supported with mariadb_server_prepare_disable_fallback=1"); + +# ok($error_handler_called, "Non-preparable statement '$non_preparable_statement' is not supported with mariadb_server_prepare_disable_fallback=1"); $dbh->{mariadb_server_prepare_disable_fallback} = 0; my $sth4;