1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 22:28:47 -04:00
This commit is contained in:
Adam Kennedy 2009-04-15 12:55:40 +00:00
parent 374d4d18e5
commit bfefa7ab3b

View file

@ -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;
} }