1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-08 06:38:12 -04:00

DBD::SQLite: clarify which sql is being executed while tracing

This commit is contained in:
Kenichi Ishigaki 2009-11-03 13:50:25 +00:00
parent 6f1677bc46
commit 1a976e892b

View file

@ -435,7 +435,7 @@ sqlite_st_execute(SV *sth, imp_sth_t *imp_sth)
int num_params = DBIc_NUM_PARAMS(imp_sth); int num_params = DBIc_NUM_PARAMS(imp_sth);
int i; int i;
sqlite_trace(sth, imp_sth, 3, "execute"); sqlite_trace(sth, imp_sth, 3, form("executing %s", sqlite3_sql(imp_sth->stmt)));
if (!DBIc_ACTIVE(imp_dbh)) { if (!DBIc_ACTIVE(imp_dbh)) {
sqlite_error(sth, -2, "attempt to execute on inactive database handle"); sqlite_error(sth, -2, "attempt to execute on inactive database handle");