MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Martin Skold Date:January 3 2007 9:22am
Subject:bk commit into 5.1 tree (mskold:1.2377) BUG#25296
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-03 10:22:31+01:00, mskold@stripped +1 -0
  bug #25296  Truncate table converts NDB disk based tables to in-memory tables: ha_ndbcluster::update_create_infohas to check for explicit STORAGE MEMORY

  sql/ha_ndbcluster.cc@stripped, 2007-01-03 10:21:27+01:00, mskold@stripped +2 -1
    bug #25296  Truncate table converts NDB disk based tables to in-memory tables: ha_ndbcluster::update_create_infohas to check for explicit STORAGE MEMORY

# 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-new-ndb

--- 1.386/sql/ha_ndbcluster.cc	2007-01-03 10:22:44 +01:00
+++ 1.387/sql/ha_ndbcluster.cc	2007-01-03 10:22:44 +01:00
@@ -8311,7 +8311,8 @@ ha_ndbcluster::setup_recattr(const NdbRe
 
 void ha_ndbcluster::update_create_info(HA_CREATE_INFO *create_info)
 {
-  if (get_tablespace_name(current_thd,0,0))
+  if (create_info->storage_media != HA_SM_MEMORY &&
+      get_tablespace_name(current_thd,0,0))
     create_info->storage_media= HA_SM_DISK;
 }
 
Thread
bk commit into 5.1 tree (mskold:1.2377) BUG#25296Martin Skold3 Jan