Skip to content

Commit 2f55809

Browse files
author
Rishitha Kalicheti
committed
added warning to create guts rule
Signed-off-by: Rishitha Kalicheti <[email protected]>
1 parent 340fa8e commit 2f55809

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/sp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6073,6 +6073,10 @@ static int getarg(const char **s_, struct sqlclntstate *clnt, sparg_t *arg)
60736073
b[0] = '\0';
60746074
break;
60756075
} else {
6076+
// deprecating: exec proc('@param') usage, instead use exec proc(@param)
6077+
logmsg(LOGMSG_WARN,
6078+
"Warning: passing bind parameters inside quotes and it is "
6079+
"deprecated. Use exec procedure estr(@x) instead of exec procedure estr('@x')\n");
60766080
// lose the quotes
60776081
++a;
60786082
--b;

0 commit comments

Comments
 (0)