Skip to content

Commit 0741858

Browse files
committed
Fix mysqli build with mysqlnd and without PDO
1 parent b15885b commit 0741858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/mysqli_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1885,7 +1885,7 @@ PHP_FUNCTION(mysqli_real_query)
18851885
}
18861886
/* }}} */
18871887

1888-
#if defined(PDO_USE_MYSQLND) || MYSQL_VERSION_ID < 50707 || defined(MARIADB_BASE_VERSION)
1888+
#if defined(MYSQLI_USE_MYSQLND) || MYSQL_VERSION_ID < 50707 || defined(MARIADB_BASE_VERSION)
18891889
# define mysql_real_escape_string_quote(mysql, to, from, length, quote) \
18901890
mysql_real_escape_string(mysql, to, from, length)
18911891
#endif

0 commit comments

Comments
 (0)