mirror of
https://github.com/php/php-src.git
synced 2024-11-26 03:16:33 +08:00
win32 fixes
This commit is contained in:
parent
9d43def392
commit
604a41e244
@ -2,7 +2,7 @@
|
||||
#if ZTS
|
||||
# define THREADSAFE 1
|
||||
#endif
|
||||
#if !ZEND_DEBUG
|
||||
#if !ZEND_DEBUG && !defined(NDEBUG)
|
||||
# define NDEBUG
|
||||
#endif
|
||||
#define SQLITE_PTR_SZ 4
|
@ -559,9 +559,18 @@ static int php_sqlite_authorizer(void *autharg, int access_type, const char *arg
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
static int init_sqlite_globals(zend_sqlite_globals *g)
|
||||
{
|
||||
g->assoc_case = 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
PHP_MINIT_FUNCTION(sqlite)
|
||||
{
|
||||
ZEND_INIT_MODULE_GLOBALS(sqlite, init_sqlite_globals, NULL);
|
||||
|
||||
REGISTER_INI_ENTRIES();
|
||||
|
||||
le_sqlite_db = zend_register_list_destructors_ex(php_sqlite_db_dtor, NULL, "sqlite database", module_number);
|
||||
le_sqlite_pdb = zend_register_list_destructors_ex(NULL, php_sqlite_db_dtor, "sqlite database (persistent)", module_number);
|
||||
le_sqlite_result = zend_register_list_destructors_ex(php_sqlite_result_dtor, NULL, "sqlite result", module_number);
|
||||
|
Loading…
Reference in New Issue
Block a user