diff options
Diffstat (limited to 'client/mysql.cc')
-rw-r--r-- | client/mysql.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 935dfd12643..10f25966755 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -3673,7 +3673,10 @@ print_table_data(MYSQL_RES *result) { print_field_types(result); if (!mysql_num_rows(result)) + { + my_afree((uchar*) num_flag); return; + } mysql_field_seek(result,0); } separator.copy("+",1,charset_info); |