List:Commits« Previous MessageNext Message »
From:kent Date:April 17 2007 3:40pm
Subject:bk commit into 5.0 tree (kent:1.2461) BUG#27710
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of mysqldev. When mysqldev 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-04-17 15:40:38+02:00, kent@stripped +1 -0
  Dbdict.cpp:
    Bug #27710 Creating unique index fails during single user mode
    - enable indexes to be used always, if in single user, reject will happen before, and
if it is kerlel doing stuff, it should always be allowed

  ndb/src/kernel/blocks/dbdict/Dbdict.cpp@stripped, 2007-04-17 15:36:30+02:00, kent@stripped
+1 -0
    Bug #27710 Creating unique index fails during single user mode
    - enable indexes to be used always, if in single user, reject will happen before, and
if it is kerlel doing stuff, it should always be allowed

# 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:	kent
# Host:	production.mysql.com
# Root:	/data0/mysqldev/my/build-200704170906-5.0.40/mysql-5.0-release

--- 1.77/ndb/src/kernel/blocks/dbdict/Dbdict.cpp	2007-04-17 15:40:46 +02:00
+++ 1.78/ndb/src/kernel/blocks/dbdict/Dbdict.cpp	2007-04-17 15:40:46 +02:00
@@ -6883,6 +6883,7 @@
   w.add(DictTabInfo::NoOfKeyAttr, indexPtr.p->noOfPrimkey);
   w.add(DictTabInfo::NoOfNullable, indexPtr.p->noOfNullAttr);
   w.add(DictTabInfo::KeyLength, indexPtr.p->tupKeyLength);
+  w.add(DictTabInfo::SingleUserMode, (Uint32)1);
   // write index key attributes
   AttributeRecordPtr aRecPtr;
   c_attributeRecordPool.getPtr(aRecPtr, tablePtr.p->firstAttribute);
Thread
bk commit into 5.0 tree (kent:1.2461) BUG#27710kent17 Apr