mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix buid with system libsqlite, see bug #74217
SQLITE_DETERMINISTIC only exists in recent version e.g. missing on 3.7 which is the default on RHEL/CentOS-7 and probably others (wheezy have 3.7, jessie 3.8...)
This commit is contained in:
parent
d11211fb53
commit
012dc336a6
4 changed files with 12 additions and 2 deletions
|
@ -69,7 +69,9 @@ ZEND_GET_MODULE(pdo_sqlite)
|
|||
/* {{{ PHP_MINIT_FUNCTION */
|
||||
PHP_MINIT_FUNCTION(pdo_sqlite)
|
||||
{
|
||||
#ifdef SQLITE_DETERMINISTIC
|
||||
REGISTER_PDO_CLASS_CONST_LONG("SQLITE_DETERMINISTIC", (zend_long)SQLITE_DETERMINISTIC);
|
||||
#endif
|
||||
|
||||
return php_pdo_register_driver(&pdo_sqlite_driver);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue