mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
We don't need to issue a warnings for commit while AutoCommit enabled, because the DBI layer does it already for us.
This commit is contained in:
parent
03e95f6454
commit
e7c3a8afae
1 changed files with 1 additions and 0 deletions
1
dbdimp.c
1
dbdimp.c
|
@ -230,6 +230,7 @@ sqlite_db_commit(SV *dbh, imp_dbh_t *imp_dbh)
|
||||||
char *errmsg;
|
char *errmsg;
|
||||||
|
|
||||||
if (DBIc_is(imp_dbh, DBIcf_AutoCommit)) {
|
if (DBIc_is(imp_dbh, DBIcf_AutoCommit)) {
|
||||||
|
/* We don't need to warn, because the DBI layer will do it for u
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue