Skip to content

Commit ce24d98

Browse files
committed
Add deprecation warning for LISTFIELDS support
1 parent a5b8b36 commit ce24d98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dbdimp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2767,6 +2767,9 @@ my_ulonglong mysql_st_internal_execute(
27672767
if (slen >= 11 && (!strncmp(sbuf, "listfields ", 11) ||
27682768
!strncmp(sbuf, "LISTFIELDS ", 11)))
27692769
{
2770+
do_warn(h, JW_ERR_LIST_FIELDS,
2771+
"LISTFIELDS support is deprecated and will be removed in an upcoming release");
2772+
27702773
/* remove pre-space */
27712774
slen-= 10;
27722775
sbuf+= 10;

0 commit comments

Comments
 (0)