Fix mysqli build with mysqlnd and without PDO

This commit is contained in:
Bob Weinand 2020-09-20 02:57:39 +02:00 committed by Nikita Popov
parent 740f0f6165
commit a7544411df

View file

@ -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