mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/pdo_sqlite: fix minimal version for EXPLAIN feature support. (#18854)
This commit is contained in:
parent
bc7d00ea6d
commit
f129586459
4 changed files with 58 additions and 58 deletions
|
@ -393,7 +393,7 @@ static int pdo_sqlite_stmt_get_attribute(pdo_stmt_t *stmt, zend_long attr, zval
|
|||
}
|
||||
break;
|
||||
case PDO_SQLITE_ATTR_EXPLAIN_STATEMENT:
|
||||
#if SQLITE_VERSION_NUMBER >= 3041000
|
||||
#if SQLITE_VERSION_NUMBER >= 3043000
|
||||
#if defined(__APPLE__)
|
||||
if (__builtin_available(macOS 14.2, *)) {
|
||||
#endif
|
||||
|
@ -420,7 +420,7 @@ static int pdo_sqlite_stmt_set_attribute(pdo_stmt_t *stmt, zend_long attr, zval
|
|||
{
|
||||
switch (attr) {
|
||||
case PDO_SQLITE_ATTR_EXPLAIN_STATEMENT:
|
||||
#if SQLITE_VERSION_NUMBER >= 3041000
|
||||
#if SQLITE_VERSION_NUMBER >= 3043000
|
||||
#if defined(__APPLE__)
|
||||
if (__builtin_available(macOS 14.2, *)) {
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue