List:Commits« Previous MessageNext Message »
From:Martin Skold Date:October 16 2006 6:33am
Subject:bk commit into 5.0 tree (mskold:1.2281)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of marty. When marty 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-16 08:33:22+02:00, mskold@stripped +1 -0
  Merge mskold@stripped:/home/bk/mysql-5.0
  into  mysql.com:/windows/Linux_space/MySQL/mysql-5.0
  MERGE: 1.2258.12.5

  sql/ha_ndbcluster.cc@stripped, 2006-10-16 08:33:16+02:00, mskold@stripped +0 -0
    Auto merged
    MERGE: 1.278.1.2

# 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:	mskold
# Host:	linux.site
# Root:	/windows/Linux_space/MySQL/mysql-5.0/RESYNC

--- 1.281/sql/ha_ndbcluster.cc	2006-10-16 08:33:34 +02:00
+++ 1.282/sql/ha_ndbcluster.cc	2006-10-16 08:33:34 +02:00
@@ -2131,9 +2131,11 @@ int ha_ndbcluster::write_row(byte *recor
     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 (mskold:1.2281)Martin Skold16 Oct