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

@ -142,6 +142,16 @@ private:
const ParseNode &parse_tree_;
};
struct ObCharsets4Parser
{
explicit ObCharsets4Parser() :
string_collation_(common::CS_TYPE_UTF8MB4_GENERAL_CI),
nls_collation_(common::CS_TYPE_INVALID)
{}
common::ObCollationType string_collation_; //collation type for the string to parse
common::ObCollationType nls_collation_; //oracle database collation for validating identifiers
};
} // end namespace sql
} // end namespace oceanbase