1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Ensure that the table argument passed to Tcl_GetIndexFromObjStruct() in the sessions module test code is declared "static".

FossilOrigin-Name: 80eba105d6d1b49ba8ca2ad4e14ddec2de0bdc2f6686c2f8a1c1d24fc1fe846f
This commit is contained in:
dan
2020-10-26 16:22:31 +00:00
parent d1d43efa4f
commit 19f7bd3b07
3 changed files with 10 additions and 10 deletions

View File

@ -227,7 +227,7 @@ static int SQLITE_TCLAPI test_session_cmd(
){
TestSession *p = (TestSession*)clientData;
sqlite3_session *pSession = p->pSession;
struct SessionSubcmd {
static struct SessionSubcmd {
const char *zSub;
int nArg;
const char *zMsg;
@ -1131,7 +1131,7 @@ static int SQLITE_TCLAPI test_rebaser_cmd(
int objc,
Tcl_Obj *CONST objv[]
){
struct RebaseSubcmd {
static struct RebaseSubcmd {
const char *zSub;
int nArg;
const char *zMsg;
@ -1248,7 +1248,7 @@ static int SQLITE_TCLAPI test_sqlite3session_config(
int objc,
Tcl_Obj *CONST objv[]
){
struct ConfigOpt {
static struct ConfigOpt {
const char *zSub;
int op;
} aSub[] = {