!4755 【测试类型:SQL功能】【测试版本:5.1.1】【后台及工具支持切换运行日志为中文日志】 enable_nls参数控制不完全,语法类报错无法关闭翻译功能

Merge pull request !4755 from Netsah/bug_I8RCI9
This commit is contained in:
opengauss_bot
2024-01-23 08:38:48 +00:00
committed by Gitee

View File

@ -74,6 +74,9 @@ const uint16 ScanKeywordTokens[] = {
(YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
#endif
#undef _
#define _(str) ((!u_sess->attr.attr_common.enable_nls) || in_error_recursion_trouble())?str:gettext(str)
/*
* Set the type of yyextra. All state variables used by the scanner should
* be in yyextra, *not* statically allocated.