Skip to content

Commit 7e386c5

Browse files
committed
dbug_print_row() fix
1 parent d203a8a commit 7e386c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/filesort.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ String dbug_format_row(TABLE *table, const uchar *rec, bool print_names)
815815
*/
816816
const char *dbug_print_row(TABLE *table, const uchar *rec)
817817
{
818-
String row= dbug_format_row(table, table->record[0]);
818+
String row= dbug_format_row(table, rec);
819819
if (row.length() > sizeof dbug_row_print_buf - 1)
820820
return "Couldn't fit into buffer";
821821
memcpy(dbug_row_print_buf, row.c_ptr(), row.length());

0 commit comments

Comments
 (0)