mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
DBD-SQLite: 36_hooks.t also segfaults on freebsd
This commit is contained in:
parent
cb8a0ec896
commit
1e3d1171a8
1 changed files with 4 additions and 1 deletions
|
@ -112,7 +112,10 @@ foreach my $call_func (@CALL_FUNCS) {
|
||||||
: DBD::SQLite::OK;
|
: DBD::SQLite::OK;
|
||||||
return $retval;
|
return $retval;
|
||||||
};
|
};
|
||||||
$dbh->$call_func($authorizer, "set_authorizer") unless $^O eq 'MSWin32'; # FIXME: this line causes segfalut under Win32
|
unless ($^O =~ /MSWin32|freebsd/) {
|
||||||
|
# FIXME: this line may cause segfalut
|
||||||
|
$dbh->$call_func($authorizer, "set_authorizer");
|
||||||
|
}
|
||||||
|
|
||||||
# try an insert (should be authorized) and check authorizer args
|
# try an insert (should be authorized) and check authorizer args
|
||||||
$dbh->do("INSERT INTO hook_test VALUES ('auth_test')");
|
$dbh->do("INSERT INTO hook_test VALUES ('auth_test')");
|
||||||
|
|
Loading…
Add table
Reference in a new issue