Skip to content

Commit

Permalink
Add deprecation warning for LISTFIELDS support
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden committed Mar 12, 2024
1 parent f24b529 commit 78d639a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dbdimp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2767,6 +2767,9 @@ my_ulonglong mysql_st_internal_execute(
if (slen >= 11 && (!strncmp(sbuf, "listfields ", 11) ||
!strncmp(sbuf, "LISTFIELDS ", 11)))
{
do_warn(h, JW_ERR_LIST_FIELDS,
"LISTFIELDS support is deprecated and will be removed in an upcoming release");

/* remove pre-space */
slen-= 10;
sbuf+= 10;
Expand Down

0 comments on commit 78d639a

Please sign in to comment.