List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:October 4 2006 9:13am
Subject:bk commit into 5.0 tree (stewart:1.2291) BUG#19914
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of stewart. When stewart 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@stripped, 2006-10-04 17:13:11+10:00, stewart@willster.(none) +2 -0
  BUG#19914 MAX_INT on select count(*)
  
  fix for federated

  sql/ha_federated.cc@stripped, 2006-10-04 17:13:08+10:00, stewart@willster.(none) +3 -3
    update federated for handler::info now returning int

  sql/ha_federated.h@stripped, 2006-10-04 17:13:09+10:00, stewart@willster.(none) +1 -1
    update federated for handler::info now returning int

# 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:	stewart
# Host:	willster.(none)
# Root:	/home/stewart/Documents/MySQL/5.0/bug19914-mk2

--- 1.68/sql/ha_federated.cc	2006-10-04 17:13:15 +10:00
+++ 1.69/sql/ha_federated.cc	2006-10-04 17:13:16 +10:00
@@ -2385,7 +2385,7 @@
 
 */
 
-void ha_federated::info(uint flag)
+int ha_federated::info(uint flag)
 {
   char error_buffer[FEDERATED_QUERY_BUFFER_SIZE];
   char status_buf[FEDERATED_QUERY_BUFFER_SIZE];
@@ -2463,7 +2463,7 @@
   if (result)
     mysql_free_result(result);
 
-  DBUG_VOID_RETURN;
+  DBUG_RETURN(0);
 
 error:
   if (result)
@@ -2472,7 +2472,7 @@
   my_sprintf(error_buffer, (error_buffer, ": %d : %s",
                             mysql_errno(mysql), mysql_error(mysql)));
   my_error(error_code, MYF(0), error_buffer);
-  DBUG_VOID_RETURN;
+  DBUG_RETURN(error_code);
 }
 
 

--- 1.27/sql/ha_federated.h	2006-10-04 17:13:16 +10:00
+++ 1.28/sql/ha_federated.h	2006-10-04 17:13:16 +10:00
@@ -285,7 +285,7 @@
   int rnd_next(byte *buf);                                      //required
   int rnd_pos(byte *buf, byte *pos);                            //required
   void position(const byte *record);                            //required
-  void info(uint);                                              //required
+  int info(uint);                                              //required
 
   void update_auto_increment(void);
   int repair(THD* thd, HA_CHECK_OPT* check_opt);
Thread
bk commit into 5.0 tree (stewart:1.2291) BUG#19914Stewart Smith4 Oct