[FEAT MERGE]: use parameter _ob_ddl_temp_file_compress_func to control compression in ddl.

This commit is contained in:
Monk-Liu
2024-03-07 04:45:49 +00:00
committed by ob-robot
parent 5279be2c40
commit 92fca7def1
32 changed files with 491 additions and 780 deletions

View File

@ -55,6 +55,7 @@ insert_hint_begin (insert{space}*(\/\*([^+*]|\*+[^*\/])*\*+\/{space}*)*(\/
replace_hint_begin (replace{space}*(\/\*([^+*]|\*+[^*\/])*\*+\/{space}*)*(\/\*\+({space}*hint{space}+)?))
load_data_hint_begin (load{space}+data{space}*(\/\*([^+*]|\*+[^*\/])*\*+\/{space}*)*(\/\*\+({space}*hint{space}+)?))
create_hint_begin (create{space}*(\/\*([^+*]|\*+[^*\/])*\*+\/{space}*)*(\/\*\+({space}*hint{space}+)?))
alter_hint_begin (alter{space}*(\/\*([^+*]|\*+[^*\/])*\*+\/{space}*)*(\/\*\+({space}*hint{space}+)?))
hint_hint_begin (hint{space}*(\/\*([^+*]|\*+[^*\/])*\*+\/{space}*)*(\/\*\+({space}*hint{space}+)?))
common_hint_begin (\/\*\+({space}*hint{space}+)?)
c_cmt_begin \/\*
@ -955,6 +956,12 @@ Timestamp{whitespace}?\"[^\"]*\" {
p->is_ignore_token_ = p->is_ignore_hint_;
return CREATE_HINT_BEGIN;
}
{alter_hint_begin} {
BEGIN(hint);
ParseResult *p = (ParseResult *)yyextra;
p->is_ignore_token_ = p->is_ignore_hint_;
return ALTER_HINT_BEGIN;
}
<hint>{c_cmt_end} {
BEGIN(INITIAL);
return HINT_END;

File diff suppressed because it is too large Load Diff