]> TLD Linux GIT Repositories - packages/php.git/blob - php-sqlite3.patch
- updated to 5.4.23
[packages/php.git] / php-sqlite3.patch
1 diff -urNp php-5.4.17.orig/ext/sqlite3/libsqlite/sqlite3.c php-5.4.17/ext/sqlite3/libsqlite/sqlite3.c
2 --- php-5.4.17.orig/ext/sqlite3/libsqlite/sqlite3.c     2013-07-03 06:10:53.000000000 +0000
3 +++ php-5.4.17/ext/sqlite3/libsqlite/sqlite3.c  2013-07-18 14:37:33.000000000 +0000
4 @@ -18139,7 +18139,7 @@ SQLITE_API sqlite3_int64 sqlite3_soft_he
5    sqlite3_int64 priorLimit;
6    sqlite3_int64 excess;
7  #ifndef SQLITE_OMIT_AUTOINIT
8 -  sqlite3_initialize();
9 +  if( sqlite3_initialize() ) return 0;
10  #endif
11    sqlite3_mutex_enter(mem0.mutex);
12    priorLimit = mem0.alarmThreshold;
13 diff -urNp php-5.4.17.orig/ext/sqlite3/php_sqlite3.h php-5.4.17/ext/sqlite3/php_sqlite3.h
14 --- php-5.4.17.orig/ext/sqlite3/php_sqlite3.h   2013-07-03 06:10:53.000000000 +0000
15 +++ php-5.4.17/ext/sqlite3/php_sqlite3.h        2013-07-18 14:37:33.000000000 +0000
16 @@ -21,7 +21,7 @@
17  #ifndef PHP_SQLITE3_H
18  #define PHP_SQLITE3_H
19  
20 -#define PHP_SQLITE3_VERSION     "0.7"
21 +#define PHP_SQLITE3_VERSION     "0.7-dev"
22  
23  extern zend_module_entry sqlite3_module_entry;
24  #define phpext_sqlite3_ptr &sqlite3_module_entry