List:Commits« Previous MessageNext Message »
From:tomas Date:February 14 2007 9:16am
Subject:bk commit into 5.0 tree (tomas:1.2390) BUG#21033
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of tomas. When tomas 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.2390 07/02/14 15:16:26 tomas@stripped +1 -0
  Bug #21033 Error 0 in readAutoIncrementValue()
  - do not call function if table has no autoincrement

  sql/ha_ndbcluster.cc
    1.299 07/02/14 15:16:01 tomas@stripped +1 -1
    Bug #21033 Error 0 in readAutoIncrementValue()
    - do not call function if table has no autoincrement

# 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:	tomas
# Host:	poseidon.mysql.com
# Root:	/home/tomas/mysql-5.0-telco-gca

--- 1.298/sql/ha_ndbcluster.cc	2007-01-24 15:24:48 +07:00
+++ 1.299/sql/ha_ndbcluster.cc	2007-02-14 15:16:01 +07:00
@@ -3245,7 +3245,7 @@ int ha_ndbcluster::info(uint flag)
   if (flag & HA_STATUS_AUTO)
   {
     DBUG_PRINT("info", ("HA_STATUS_AUTO"));
-    if (m_table)
+    if (m_table && table->found_next_number_field)
     {
       Ndb *ndb= get_ndb();
       
Thread
bk commit into 5.0 tree (tomas:1.2390) BUG#21033tomas14 Feb