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

@ -219,7 +219,7 @@ int ObMPQuery::process()
bool force_sync_resp = false;
need_response_error = false;
ObParser parser(THIS_WORKER.get_sql_arena_allocator(),
session.get_sql_mode(), session.get_local_collation_connection());
session.get_sql_mode(), session.get_charsets4parser());
//为了性能优化考虑,减少数组长度,降低无用元素的构造和析构开销
ObSEArray<ObString, 1> queries;
ObSEArray<ObString, 1> ins_queries;