mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Implement the experimental sqlite3_bind_parameter_count() API in support
of DBD::SQLite. Also fix the sqlite3.def export list. (CVS 1797) FossilOrigin-Name: c44943e6fe0c88830102253591a501dc7d724d2f
This commit is contained in:
@@ -514,3 +514,13 @@ int sqlite3_bind_text16(
|
||||
rc = sqlite3VdbeChangeEncoding(pVar, p->db->enc);
|
||||
return rc;
|
||||
}
|
||||
|
||||
/*
|
||||
** Return the number of wildcards that can be potentially bound to.
|
||||
** This routine is added to support DBD::SQLite.
|
||||
**
|
||||
******** EXPERIMENTAL *******
|
||||
*/
|
||||
int sqlite3_bind_parameter_count(sqlite3_stmt *pStmt){
|
||||
return ((Vdbe*)pStmt)->nVar;
|
||||
}
|
||||
|
Reference in New Issue
Block a user