mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-08 06:38:12 -04:00
Bug fix
This commit is contained in:
parent
374d4d18e5
commit
bfefa7ab3b
1 changed files with 3 additions and 2 deletions
|
@ -84,12 +84,13 @@ package DBD::SQLite::db;
|
||||||
|
|
||||||
sub prepare {
|
sub prepare {
|
||||||
my $dbh = shift;
|
my $dbh = shift;
|
||||||
|
my $sql = shift;
|
||||||
|
|
||||||
my $sth = DBI::_new_sth( $dbh, {
|
my $sth = DBI::_new_sth( $dbh, {
|
||||||
Statement => shift,
|
Statement => $sql,
|
||||||
} );
|
} );
|
||||||
|
|
||||||
DBD::SQLite::st::_prepare($sth, $statement, @_) or return undef;
|
DBD::SQLite::st::_prepare($sth, $sql, @_) or return undef;
|
||||||
|
|
||||||
return $sth;
|
return $sth;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue