Skip to content

Commit a754441

Browse files
bwoebinikic
authored andcommitted
Fix mysqli build with mysqlnd and without PDO
1 parent 740f0f6 commit a754441

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
@@ -1954,7 +1954,7 @@ PHP_FUNCTION(mysqli_real_query)
19541954
}
19551955
/* }}} */
19561956

1957-
#if defined(PDO_USE_MYSQLND) || MYSQL_VERSION_ID < 50707 || defined(MARIADB_BASE_VERSION)
1957+
#if defined(MYSQLI_USE_MYSQLND) || MYSQL_VERSION_ID < 50707 || defined(MARIADB_BASE_VERSION)
19581958
# define mysql_real_escape_string_quote(mysql, to, from, length, quote) \
19591959
mysql_real_escape_string(mysql, to, from, length)
19601960
#endif

0 commit comments

Comments
 (0)