mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fix mysqli build with mysqlnd and without PDO
This commit is contained in:
parent
740f0f6165
commit
a7544411df
1 changed files with 1 additions and 1 deletions
|
@ -1954,7 +1954,7 @@ PHP_FUNCTION(mysqli_real_query)
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
#if defined(PDO_USE_MYSQLND) || MYSQL_VERSION_ID < 50707 || defined(MARIADB_BASE_VERSION)
|
#if defined(MYSQLI_USE_MYSQLND) || MYSQL_VERSION_ID < 50707 || defined(MARIADB_BASE_VERSION)
|
||||||
# define mysql_real_escape_string_quote(mysql, to, from, length, quote) \
|
# define mysql_real_escape_string_quote(mysql, to, from, length, quote) \
|
||||||
mysql_real_escape_string(mysql, to, from, length)
|
mysql_real_escape_string(mysql, to, from, length)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue