1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

cleanup: lex_string_set3()

This commit is contained in:
Sergei Golubchik
2024-01-27 09:31:44 +01:00
parent 32e6f8ff2e
commit ae59127158
9 changed files with 21 additions and 34 deletions

View File

@@ -16823,17 +16823,17 @@ const char *dbug_print_sel_arg(SEL_ARG *sel_arg)
}
if (sel_arg->min_flag & NEAR_MIN)
lex_string_set3(&tmp, "<", 1);
tmp = { STRING_WITH_LEN("<") };
else
lex_string_set3(&tmp, "<=", 2);
tmp = { STRING_WITH_LEN("<=") };
out.append(&tmp);
out.append(sel_arg->field->field_name);
if (sel_arg->min_flag & NEAR_MAX)
lex_string_set3(&tmp, "<", 1);
tmp = { STRING_WITH_LEN("<") };
else
lex_string_set3(&tmp, "<=", 2);
tmp = { STRING_WITH_LEN("<=") };
out.append(&tmp);
if (sel_arg->max_flag & NO_MAX_RANGE)