From f40b011040922408d8a6c91b41b333b6757e6de2 Mon Sep 17 00:00:00 2001 From: Patrick van Kleef Date: Fri, 8 Nov 2024 14:24:55 +0000 Subject: [PATCH] Added notice to isqlw this application has been deprecated (fixes #1322) There is no use shipping a broken tool. We have decided to have it return a deprecation notice in case users upgrade an existing installation. --- binsrc/tests/isql.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/binsrc/tests/isql.c b/binsrc/tests/isql.c index 37dab33625..9cbe51cee1 100644 --- a/binsrc/tests/isql.c +++ b/binsrc/tests/isql.c @@ -10768,6 +10768,11 @@ isql_main (int argc, isql_printf (_T("Type HELP; for help and EXIT; to exit.\n")); } +#ifdef _UNICODE + wprintf (L"\nThe current isqlw application has been deprecated and will be removed in a future release\n\n"); + exit (1); +#endif + if (nth_non_option || shortcuts_used) /* Used in the traditional way, with datasource, and possibly username and password given from the command line? */