From fea116cfb5b8f2a2d7982d98d2fa7351b1175702 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 25 Apr 2005 09:51:37 +0200 Subject: [PATCH] Removing useless mysql_field_seek --- client/mysql.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/mysql.cc b/client/mysql.cc index 5a595652606..1faffb7046e 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -2228,7 +2228,7 @@ print_warnings() /* Bail out when no warnings */ my_ulonglong num_rows = mysql_num_rows(result); - if( num_rows == 0 ) + if (num_rows == 0) { mysql_free_result(result); return; @@ -2237,7 +2237,6 @@ print_warnings() /* Print the warnings */ while ((cur= mysql_fetch_row(result))) { - mysql_field_seek(result, 0); tee_fprintf(PAGER, "%s (Code %s): %s\n", cur[0], cur[1], cur[2]); } mysql_free_result(result);