List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:July 26 2007 12:25pm
Subject:bk commit into 5.0 tree (stewart:1.2471) BUG#26793
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, 2007-07-26 20:25:05+10:00, stewart@stripped +1 -0
  [PATCH] Bug#26793 I_S query crashes in NDB
  
  If ::exteral_lock hadn't been called, we'd have no NDB object,
  so need to check/get one here.
  
  It looks like sql_show.cc is the only place that does this....
  or at least the other places will be well hidden.
  
  Index: ndb-work/sql/ha_ndbcluster.cc
  ===================================================================

  sql/ha_ndbcluster.cc@stripped, 2007-07-25 17:33:55+10:00, stewart@stripped +2 -0
    Bug#26793 I_S query crashes in NDB

# 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/ndb-merge

--- 1.313/sql/ha_ndbcluster.cc	2007-05-28 23:23:24 +10:00
+++ 1.314/sql/ha_ndbcluster.cc	2007-07-25 17:33:55 +10:00
@@ -3310,6 +3310,8 @@
     DBUG_PRINT("info", ("HA_STATUS_AUTO"));
     if (m_table && table->found_next_number_field)
     {
+      if ((my_errno= check_ndb_connection()))
+        DBUG_RETURN(my_errno);
       Ndb *ndb= get_ndb();
       
       Uint64 auto_increment_value64;
Thread
bk commit into 5.0 tree (stewart:1.2471) BUG#26793Stewart Smith26 Jul