1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix build whether compiling with or without auto-extension enabled (CVS 4891)

FossilOrigin-Name: 7b9682c65f545b09d410173cf282f7c4f4438097
This commit is contained in:
mlcreech
2008-03-19 23:52:34 +00:00
parent 88ef0908b5
commit 9323f76141
4 changed files with 21 additions and 13 deletions

View File

@@ -11,11 +11,12 @@
*************************************************************************
** Test extension for testing the sqlite3_auto_extension() function.
**
** $Id: test_autoext.c,v 1.3 2008/03/19 16:08:54 drh Exp $
** $Id: test_autoext.c,v 1.4 2008/03/19 23:52:35 mlcreech Exp $
*/
#include "tcl.h"
#ifndef SQLITE_OMIT_LOAD_EXTENSION
#include "sqlite3ext.h"
#ifndef SQLITE_OMIT_LOAD_EXTENSION
static SQLITE_EXTENSION_INIT1
/*
@@ -128,6 +129,9 @@ static int autoExtBrokenObjCmd(
return SQLITE_OK;
}
#endif /* SQLITE_OMIT_LOAD_EXTENSION */
/*
** tclcmd: sqlite3_reset_auto_extension
**
@@ -144,8 +148,6 @@ static int resetAutoExtObjCmd(
}
#endif /* SQLITE_OMIT_LOAD_EXTENSION */
/*
** This procedure registers the TCL procs defined in this file.
*/