Fix bad annotation causing parser to hang

This commit is contained in:
obdev
2024-02-08 12:51:33 +00:00
committed by ob-robot
parent 086a94c07d
commit 102a313075
2 changed files with 5 additions and 1 deletions

View File

@ -87,6 +87,10 @@ struct ObRawSql {
{
return search_end_ || cur_pos_ > raw_sql_len_ - 1;
}
inline bool is_search_end(const int64_t pos)
{
return search_end_ || pos > raw_sql_len_ - 1;
}
inline char peek()
{
if (cur_pos_ >= raw_sql_len_ - 1) {