List:Commits« Previous MessageNext Message »
From:Martin Skold Date:January 22 2007 1:49pm
Subject:bk commit into 5.1 tree (mskold:1.2338)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 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, 2007-01-22 14:49:43+01:00, mskold@stripped +1 -0
  Loop invariant optimization

  sql/ha_ndbcluster.cc@stripped, 2007-01-22 14:49:34+01:00, mskold@stripped +3 -3
    Loop invariant optimization

# 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.1-wl3627

--- 1.371/sql/ha_ndbcluster.cc	2007-01-22 14:49:54 +01:00
+++ 1.372/sql/ha_ndbcluster.cc	2007-01-22 14:49:54 +01:00
@@ -4813,6 +4813,9 @@ int ha_ndbcluster::create(const char *na
   my_free((char*)data, MYF(0));
   my_free((char*)pack_data, MYF(0));
   
+  if (info->storage_media == HA_SM_DISK)
+    disk_storage= TRUE;
+
   for (i= 0; i < form->s->fields; i++) 
   {
     Field *field= form->field[i];
@@ -4823,9 +4826,6 @@ int ha_ndbcluster::create(const char *na
                         field->pack_length()));
     if ((my_errno= create_ndb_column(col, field, info)))
       DBUG_RETURN(my_errno);
-
-    if (info->storage_media == HA_SM_DISK)
-      disk_storage= TRUE;
 
     switch (field->field_storage_type()) {
     case(HA_SM_DEFAULT):
Thread
bk commit into 5.1 tree (mskold:1.2338)Martin Skold22 Jan