fix define cursor error
This commit is contained in:
@ -289,7 +289,8 @@ outer_stmt:
|
|||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
sql_keyword:
|
sql_keyword:
|
||||||
SQL_KEYWORD { $$ = NULL; }
|
'(' sql_keyword { $$ = NULL; }
|
||||||
|
| SQL_KEYWORD { $$ = NULL; }
|
||||||
| TABLE { $$ = NULL; }
|
| TABLE { $$ = NULL; }
|
||||||
| INSERT { $$ = NULL; }
|
| INSERT { $$ = NULL; }
|
||||||
| DELETE { $$ = NULL; }
|
| DELETE { $$ = NULL; }
|
||||||
|
|||||||
@ -259,9 +259,9 @@ int ObExprToOutfileRow::print_field(char *buf, const int64_t buf_len, int64_t &p
|
|||||||
} else if (!need_enclose && (wchar == out_info.wchar_field_ ||
|
} else if (!need_enclose && (wchar == out_info.wchar_field_ ||
|
||||||
wchar == out_info.wchar_line_)) {
|
wchar == out_info.wchar_line_)) {
|
||||||
OZ(out_info.escape_.print_plain_str_literal(buf, buf_len, pos, out_info.print_params_));
|
OZ(out_info.escape_.print_plain_str_literal(buf, buf_len, pos, out_info.print_params_));
|
||||||
OZ(copy_string_to_buf(buf, buf_len, pos, code_point));
|
OZ(copy_string_to_buf(buf, buf_len, pos, code_point));
|
||||||
} else {
|
} else {
|
||||||
OZ(copy_string_to_buf(buf, buf_len, pos, code_point));
|
OZ(copy_string_to_buf(buf, buf_len, pos, code_point));
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user