]> granicus.if.org Git - php/commitdiff
Fix mysqli build with mysqlnd and without PDO
authorBob Weinand <bobwei9@hotmail.com>
Sun, 20 Sep 2020 00:57:39 +0000 (02:57 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Sun, 20 Sep 2020 00:57:39 +0000 (02:57 +0200)
ext/mysqli/mysqli_api.c

index aa283505e1372f97824040a292e3048e2b1a7174..2263c75434e34cb93795b67af6df9bc341bf0e95 100644 (file)
@@ -1885,7 +1885,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) \
        mysql_real_escape_string(mysql, to, from, length)
 #endif