List:Commits« Previous MessageNext Message »
From:'Hartmut Holzgraefe' Date:October 9 2006 12:19pm
Subject:bk commit into 5.0 tree (hartmut:1.2276)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of hartmut. When hartmut 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-09 12:18:47+02:00, hartmut@stripped +1 -0
  Merge hholzgraefe@stripped:/home/bk/mysql-5.0
  into  mysql.com:/home/hartmut/projects/mysql/dev/5.0
  MERGE: 1.2258.6.5

  sql/ha_ndbcluster.cc@stripped, 2006-10-09 12:18:28+02:00, hartmut@stripped +0 -0
    Auto merged
    MERGE: 1.273.1.7

# 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:	hartmut
# Host:	linux.site
# Root:	/home/hartmut/projects/mysql/dev/5.0/RESYNC

--- 1.275/sql/ha_ndbcluster.cc	2006-10-09 12:19:09 +02:00
+++ 1.276/sql/ha_ndbcluster.cc	2006-10-09 12:19:09 +02:00
@@ -2135,9 +2135,11 @@
     if (has_auto_increment) 
     {
       THD *thd= table->in_use;
+      int error;
       
       m_skip_auto_increment= FALSE;
-      update_auto_increment();
+      if ((error= update_auto_increment()))
+        DBUG_RETURN(error);
       /* Ensure that handler is always called for auto_increment values */
       thd->next_insert_id= 0;
       m_skip_auto_increment= !auto_increment_column_changed;
Thread
bk commit into 5.0 tree (hartmut:1.2276)'Hartmut Holzgraefe'9 Oct