List:Internals« Previous MessageNext Message »
From:Geert Vanderkelen Date:April 25 2005 7:51am
Subject:bk commit into 5.0 tree (geert:1.1825)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of geert. When geert does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1825 05/04/25 09:51:37 geert@stripped +1 -0
  Removing useless mysql_field_seek

  client/mysql.cc
    1.165 05/04/25 09:51:33 geert@stripped +1 -2
    Removing useless mysql_field_seek

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	geert
# Host:	kriem.kemuri.org
# Root:	/home/geert/MySQL/mysql-5.0

--- 1.164/client/mysql.cc	2005-04-14 15:07:03 +02:00
+++ 1.165/client/mysql.cc	2005-04-25 09:51:33 +02:00
@@ -2228,7 +2228,7 @@
 
   /* 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 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);
Thread
bk commit into 5.0 tree (geert:1.1825)Geert Vanderkelen25 Apr