fix handling invalid character in identifier

This commit is contained in:
wjhh2008
2023-09-22 03:10:14 +00:00
committed by ob-robot
parent e4e09ecfb6
commit c13243ff23
54 changed files with 229 additions and 146 deletions

View File

@ -45,6 +45,7 @@
#include "common/sql_mode/ob_sql_mode_utils.h"
#include "sql/monitor/flt/ob_flt_extra_info.h"
#include "sql/monitor/flt/ob_flt_utils.h"
#include "sql/parser/ob_parser_utils.h"
namespace oceanbase
{
@ -979,6 +980,13 @@ public:
get_local_collation_connection());
}
inline ObCharsets4Parser get_charsets4parser() const {
ObCharsets4Parser charsets4parser;
charsets4parser.string_collation_ = get_local_collation_connection();
charsets4parser.nls_collation_ = get_nls_collation();
return charsets4parser;
}
inline ObSessionNLSParams get_session_nls_params() const
{
ObSessionNLSParams session_nls_params;