summaryrefslogtreecommitdiff
path: root/sql/sql_analyze_stmt.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_analyze_stmt.cc')
-rw-r--r--sql/sql_analyze_stmt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_analyze_stmt.cc b/sql/sql_analyze_stmt.cc
index 2f87b9b0d40..8df2f76aeaf 100644
--- a/sql/sql_analyze_stmt.cc
+++ b/sql/sql_analyze_stmt.cc
@@ -81,7 +81,7 @@ void Filesort_tracker::print_json_members(Json_writer *writer)
}
get_data_format(&str);
- writer->add_member("r_sort_mode").add_str(str.c_ptr(), str.length());
+ writer->add_member("r_sort_mode").add_str(str.ptr(), str.length());
}
void Filesort_tracker::get_data_format(String *str)