summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorgeert@kriem.kemuri.org <>2005-04-25 09:51:37 +0200
committergeert@kriem.kemuri.org <>2005-04-25 09:51:37 +0200
commite432a7b263745b03f8ce5fd71a1271f7c2bdff6e (patch)
treeeb98543f1613ad5e46a564334ceb71b78834f937 /client
parent718d3a3cace79108002756cc8d05ce89dc4c43c4 (diff)
downloadmariadb-git-e432a7b263745b03f8ce5fd71a1271f7c2bdff6e.tar.gz
Removing useless mysql_field_seek
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc3
1 files changed, 1 insertions, 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);