1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Add further test cases for compile time limits. (CVS 3963)

FossilOrigin-Name: 9bf2c594a48a4661700f0833562ee2b3ff7b761c
This commit is contained in:
danielk1977
2007-05-09 11:37:22 +00:00
parent b56fe1ff27
commit 832b2664e6
6 changed files with 142 additions and 27 deletions

View File

@@ -16,7 +16,7 @@
** The focus of this file is providing the TCL testing layer
** access to compile-time constants.
**
** $Id: test_config.c,v 1.2 2007/05/09 08:24:44 danielk1977 Exp $
** $Id: test_config.c,v 1.3 2007/05/09 11:37:23 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -442,6 +442,11 @@ static void set_options(Tcl_Interp *interp){
Tcl_LinkVar(interp, "SQLITE_MAX_LIKE_PATTERN_LENGTH",
(char*)&sqlite_max_like_pattern, TCL_LINK_INT|TCL_LINK_READ_ONLY);
}
{
static int sqlite_max_attached = SQLITE_MAX_ATTACHED;
Tcl_LinkVar(interp, "SQLITE_MAX_ATTACHED",
(char*)&sqlite_max_attached, TCL_LINK_INT|TCL_LINK_READ_ONLY);
}
}