mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-10 01:02:56 +03:00
Move the sqlite3_temp_directory global variable out of the OS porting layer
and into main.c so that it is more accessible to non-standard OS porting layers. (CVS 3759) FossilOrigin-Name: 23653f7aab6609f69948a7366bef9ebd0fd4d0b1
This commit is contained in:
12
src/main.c
12
src/main.c
@@ -14,7 +14,7 @@
|
||||
** other files are for internal use by SQLite and should not be
|
||||
** accessed by users of the library.
|
||||
**
|
||||
** $Id: main.c,v 1.364 2007/03/30 07:10:51 danielk1977 Exp $
|
||||
** $Id: main.c,v 1.365 2007/03/30 11:29:32 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "os.h"
|
||||
@@ -41,6 +41,16 @@ int sqlite3_libversion_number(void){ return SQLITE_VERSION_NUMBER; }
|
||||
*/
|
||||
void (*sqlite3_io_trace)(const char*, ...) = 0;
|
||||
|
||||
/*
|
||||
** If the following global variable points to a string which is the
|
||||
** name of a directory, then that directory will be used to store
|
||||
** temporary files.
|
||||
**
|
||||
** See also the "PRAGMA temp_store_directory" SQL command.
|
||||
*/
|
||||
char *sqlite3_temp_directory = 0;
|
||||
|
||||
|
||||
/*
|
||||
** This is the default collating function named "BINARY" which is always
|
||||
** available.
|
||||
|
Reference in New Issue
Block a user