1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fix typos in JSON MRR output

This commit is contained in:
Sergei Petrunia
2015-09-24 16:31:45 +03:00
parent 7016621596
commit 125001881d
3 changed files with 7 additions and 3 deletions

View File

@@ -2620,7 +2620,8 @@ static void add_mrr_explain_info(String *str, uint mrr_mode, handler *file)
sizeof(mrr_str_buf));
if (len > 0)
{
str->append(STRING_WITH_LEN("; "));
if (str->length())
str->append(STRING_WITH_LEN("; "));
str->append(mrr_str_buf, len);
}
}