mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Tests and bug fixes on the new transaction method in the TCL interface. (CVS 2574)
FossilOrigin-Name: 68dd0ed5e312ecd5e98ee0fa1c21b70ff330f711
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*************************************************************************
|
||||
** A TCL Interface to SQLite
|
||||
**
|
||||
** $Id: tclsqlite.c,v 1.129 2005/08/02 12:21:09 drh Exp $
|
||||
** $Id: tclsqlite.c,v 1.130 2005/08/02 17:15:15 drh Exp $
|
||||
*/
|
||||
#ifndef NO_TCL /* Omit this whole file if TCL is unavailable */
|
||||
|
||||
@@ -1518,7 +1518,7 @@ static int DbObjCmd(void *cd, Tcl_Interp *interp, int objc,Tcl_Obj *const*objv){
|
||||
TTYPE_DEFERRED, TTYPE_EXCLUSIVE, TTYPE_IMMEDIATE
|
||||
};
|
||||
int ttype;
|
||||
if( Tcl_GetIndexFromObj(interp, objv[2], TTYPE_strs, "transaction_type",
|
||||
if( Tcl_GetIndexFromObj(interp, objv[2], TTYPE_strs, "transaction type",
|
||||
0, &ttype) ){
|
||||
return TCL_ERROR;
|
||||
}
|
||||
|
Reference in New Issue
Block a user