mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
DBD::SQLite: removed undocumented and useless reset method from a statement handle
This commit is contained in:
parent
3d8e897d58
commit
2fa57ee8fa
4 changed files with 6 additions and 17 deletions
6
Changes
6
Changes
|
@ -1,6 +1,12 @@
|
|||
Changes for Perl extension DBD-SQLite
|
||||
|
||||
1.26_06 (not released yet)
|
||||
*** CHANGES THAT MAY POSSIBLY BREAK YOUR OLD APPLICATIONS ***
|
||||
- Removed undocumented (and most probably unused) reset method
|
||||
from a statement handle. This violated the DBI spec (driver-
|
||||
specific methods must have names that begin with the registered
|
||||
prefix) and was not useful as it didn't return any result.
|
||||
(ISHIGAKI)
|
||||
|
||||
1.26_05 Thu 15 Oct 2009
|
||||
- Updated to SQLite 3.6.19 (ISHIGAKI)
|
||||
|
|
|
@ -199,14 +199,6 @@ MODULE = DBD::SQLite PACKAGE = DBD::SQLite::st
|
|||
|
||||
PROTOTYPES: DISABLE
|
||||
|
||||
void
|
||||
reset(sth)
|
||||
SV *sth
|
||||
CODE:
|
||||
{
|
||||
sqlite_st_reset(aTHX_ sth);
|
||||
}
|
||||
|
||||
MODULE = DBD::SQLite PACKAGE = DBD::SQLite
|
||||
|
||||
# a couple of constants exported from sqlite3.h
|
||||
|
|
8
dbdimp.c
8
dbdimp.c
|
@ -317,14 +317,6 @@ sqlite_st_prepare(SV *sth, imp_sth_t *imp_sth, char *statement, SV *attribs)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
sqlite_st_reset (pTHX_ SV *sth)
|
||||
{
|
||||
D_imp_sth(sth);
|
||||
if (DBIc_IMPSET(imp_sth))
|
||||
sqlite3_reset(imp_sth->stmt);
|
||||
}
|
||||
|
||||
int
|
||||
sqlite_st_execute (SV *sth, imp_sth_t *imp_sth)
|
||||
{
|
||||
|
|
1
dbdimp.h
1
dbdimp.h
|
@ -84,7 +84,6 @@ int sqlite_db_enable_load_extension(pTHX_ SV *dbh, int onoff);
|
|||
int sqlite_db_create_aggregate(pTHX_ SV *dbh, const char *name, int argc, SV *aggr );
|
||||
int sqlite_db_create_collation(pTHX_ SV *dbh, const char *name, SV *func);
|
||||
int sqlite_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 sqlite_db_busy_timeout (pTHX_ SV *dbh, int timeout );
|
||||
int sqlite_db_backup_from_file(pTHX_ SV *dbh, char *filename);
|
||||
|
|
Loading…
Add table
Reference in a new issue