From 78d639aba300353b28bc74192d6f3190fb1872b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Tue, 12 Mar 2024 16:32:30 +0100 Subject: [PATCH] Add deprecation warning for LISTFIELDS support --- dbdimp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dbdimp.c b/dbdimp.c index 0f947d62..065bb94f 100644 --- a/dbdimp.c +++ b/dbdimp.c @@ -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;