1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

DBD-SQLite: renamed misleading dbd_set_sqlite3_busy_timeout to sqlite3_db_busy_timeout (dbd_ prefix should be used for the ones defined in dbd_xsh.h in the DBI package)

This commit is contained in:
Kenichi Ishigaki 2009-05-06 08:08:33 +00:00
parent 87baa98f67
commit 4958487d94
3 changed files with 3 additions and 3 deletions

View file

@ -90,7 +90,7 @@ busy_timeout(dbh, timeout=0)
SV *dbh
int timeout
CODE:
RETVAL = dbd_set_sqlite3_busy_timeout(aTHX_ dbh, timeout );
RETVAL = sqlite3_db_busy_timeout(aTHX_ dbh, timeout );
OUTPUT:
RETVAL

View file

@ -129,7 +129,7 @@ sqlite_db_login(SV *dbh, imp_dbh_t *imp_dbh, char *dbname, char *user, char *pas
}
int
dbd_set_sqlite3_busy_timeout (pTHX_ SV *dbh, int timeout )
sqlite3_db_busy_timeout (pTHX_ SV *dbh, int timeout )
{
D_imp_dbh(dbh);
if (timeout) {

View file

@ -78,7 +78,7 @@ void sqlite3_db_create_collation(pTHX_ SV *dbh, const char *name, SV *func);
void sqlite3_db_progress_handler(pTHX_ SV *dbh, int n_opcodes, SV *handler);
void sqlite_st_reset(pTHX_ SV *sth );
int sqlite_bind_col( SV *sth, imp_sth_t *imp_sth, SV *col, SV *ref, IV sql_type, SV *attribs );
int dbd_set_sqlite3_busy_timeout (pTHX_ SV *dbh, int timeout );
int sqlite3_db_busy_timeout (pTHX_ SV *dbh, int timeout );
int sqlite_db_backup_from_file(pTHX_ SV *dbh, char *filename);
int sqlite_db_backup_to_file(pTHX_ SV *dbh, char *filename);