Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas 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-11-02 11:31:46+01:00, jonas@stripped +2 -0
tmp commit
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp@stripped, 2006-11-02 11:31:44+01:00,
jonas@stripped +32 -2
tmp commit
storage/ndb/src/kernel/vm/KeyTable2Ref.hpp@stripped, 2006-11-02 11:31:44+01:00,
jonas@stripped +2 -0
tmp commit
# 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: jonas
# Host: perch.ndb.mysql.com
# Root: /home/jonas/src/51-nokia
--- 1.2/storage/ndb/src/kernel/vm/KeyTable2Ref.hpp 2006-11-02 11:31:50 +01:00
+++ 1.3/storage/ndb/src/kernel/vm/KeyTable2Ref.hpp 2006-11-02 11:31:50 +01:00
@@ -60,6 +60,8 @@
tmp.p = static_cast<U*>(ptr.p);
m_ref.release(tmp);
}
+
+ bool isEmpty() const { return m_ref.isEmpty();}
};
#endif
--- 1.104/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp 2006-11-02 11:31:50 +01:00
+++ 1.105/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp 2006-11-02 11:31:50 +01:00
@@ -298,7 +298,34 @@
ndbout_c("%s m_ref_count: %d", buf, iter.curr.p->m_ref_count);
}
}
-
+
+ if (signal->theData[0] == 1228)
+ {
+ bool all = signal->theData[1];
+ if (signal->getLength() == 1)
+ all = true;
+#define AINFO(x,y) if (all || !y.isEmpty()) infoEvent("DICT " x ": %s", y.isEmpty() ?
"IDLE": "ONGOING");
+ AINFO("CreateTable", c_opCreateTable);
+ AINFO("DropTabl", c_opDropTable);
+ AINFO("CreateIndex", c_opCreateIndex);
+ AINFO("DropIndex", c_opDropIndex);
+ AINFO("AlterIndex", c_opAlterIndex);
+ AINFO("BuildIndex", c_opBuildIndex);
+ AINFO("CreateEvent", c_opCreateEvent);
+ AINFO("SubEvent", c_opSubEvent);
+ AINFO("DropEvent", c_opDropEvent);
+ AINFO("SignalUtil", c_opSignalUtil);
+ AINFO("CreateTrigger", c_opCreateTrigger);
+ AINFO("DropTrigger", c_opDropTrigger);
+ AINFO("AlterTrigger", c_opAlterTrigger);
+ AINFO("CreateDD", c_opCreateObj);
+ AINFO("DropDD", c_opDropObj);
+ AINFO("Op", c_schemaOp);
+ AINFO("Trans", c_Trans);
+ infoEvent("1228: sz: %d free: %d",
+ c_opRecordPool.getSize(), c_opRecordPool.getNoOfFree());
+ }
+
return;
}//Dbdict::execDUMP_STATE_ORD()
@@ -3670,6 +3697,9 @@
*/
removeStaleDictLocks(signal, theFailedNodes);
+ signal->theData[0] = 1228;
+ signal->theData[1] = 0;
+ EXECUTE_DIRECT(DBDICT, GSN_DUMP_STATE_ORD, signal, 2);
}//execNODE_FAILREP()
@@ -13727,7 +13757,7 @@
break;
}
- if (hasDictLockSchemaOp()) {
+ if (hasDictLockSchemaOp() || c_blockState != BS_IDLE) {
jam();
break;
}
| Thread |
|---|
| • bk commit into 5.1 tree (jonas:1.2324) | jonas | 2 Nov |