Skip to content

Commit aebe5c9

Browse files
committed
Fix macro check that I forgot to commit
1 parent ef32a3b commit aebe5c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_mysql/mysql_statement.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ static char *type_to_name_native(int type) /* {{{ */
750750
PDO_MYSQL_NATIVE_TYPE_NAME(NEWDATE)
751751
#endif
752752
/* The following 2 don't have BC FIELD_TYPE_* aliases. */
753-
#if MYSQL_VERSION_ID >= 90000 && !defined(MARIADB_BASE_VERSION) /* TODO: mysqlnd support (added in 8.4 via a1ab846231aeff49c0441a30ebd44463fc7825b1) */
753+
#if (MYSQL_VERSION_ID >= 90000 && !defined(MARIADB_BASE_VERSION)) || defined(PDO_USE_MYSQLND)
754754
PDO_MYSQL_NATIVE_TYPE_NAME(VECTOR)
755755
#endif
756756
#if MYSQL_VERSION_ID >= 50708 || defined(PDO_USE_MYSQLND)

0 commit comments

Comments
 (0)