From a6a8ea0bc95c7d6a116f7e56b53a132f0dd818c8 Mon Sep 17 00:00:00 2001 From: "msvensson@shellback.(none)" <> Date: Wed, 16 Aug 2006 20:38:33 +0200 Subject: [PATCH 1/2] Remove duplicate free of "ds_res" --- client/mysqltest.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/mysqltest.c b/client/mysqltest.c index 549c6e85837..0f0abe682b5 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -4957,9 +4957,6 @@ int main(int argc, char **argv) die("No queries executed but result file found!"); } - - dynstr_free(&ds_res); - if (!got_end_timer) timer_output(); /* No end_timer cmd, end it */ free_used_memory(); From 2b2985e0eaf83be1a728abfb22c510e1badb2620 Mon Sep 17 00:00:00 2001 From: "msvensson@shellback.(none)" <> Date: Mon, 21 Aug 2006 14:06:59 +0200 Subject: [PATCH 2/2] Print lines from log file to see what's in them --- tests/mysql_client_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index c64ebc9e281..8d85358d740 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -14963,6 +14963,8 @@ static void test_bug17667() DIE("Read error"); } } + /* Print the line */ + printf("%s", line_buffer); } while (my_memmem(line_buffer, MAX_TEST_QUERY_LENGTH*2, statement_cursor->buffer, statement_cursor->length) == NULL);