List:Internals« Previous MessageNext Message »
From:Stewart Smith Date:October 6 2005 11:29am
Subject:bk commit into 5.1 tree (stewart:1.2036)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of stewart. When stewart 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.2036 05/10/06 21:29:23 stewart@stripped +1 -0
  WL#2076 Extra ndbd statistics
  
  get the logfile group name for a tablespace

  storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp
    1.112 05/10/06 21:29:19 stewart@stripped +9 -0
    Get the default logfile group name for a tablespace

# 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:	stewart
# Host:	willster.(none)
# Root:	/home/stewart/Documents/MySQL/5.1/ndb-dd

--- 1.111/storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp	2005-10-06 21:16:31 +10:00
+++ 1.112/storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp	2005-10-06 21:29:19 +10:00
@@ -3853,6 +3853,15 @@
   dst.m_logfile_group_version = fg.TS_LogfileGroupVersion;
   dst.m_undo_free_words= ((Uint64)fg.LF_UndoFreeWordsHi << 32)
     | (fg.LF_UndoFreeWordsLo);
+
+  if(dst.m_type==NdbDictionary::Object::Tablespace)
+  {
+    NdbDictionary::LogfileGroup tmp;
+    get_filegroup(NdbLogfileGroupImpl::getImpl(tmp),
+		  NdbDictionary::Object::LogfileGroup,
+		  dst.m_logfile_group_id);
+    dst.m_logfile_group_name.assign(tmp.getName());
+  }
   return 0;
 }
 
Thread
bk commit into 5.1 tree (stewart:1.2036)Stewart Smith6 Oct