MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:jonas Date:March 9 2006 10:16am
Subject:bk commit into 5.1 tree (jonas:1.2156)
View as plain text  
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
  1.2156 06/03/09 11:16:09 jonas@stripped +1 -0
  Merge perch.ndb.mysql.com:/home/jonas/src/51-ndb
  into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new

  storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
    1.83 06/03/09 11:16:05 jonas@stripped +0 -0
    Auto merged

# 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/mysql-5.1-new/RESYNC

--- 1.82/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp	2006-03-03 18:14:51 +01:00
+++ 1.83/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp	2006-03-09 11:16:05 +01:00
@@ -12128,7 +12128,11 @@
   // fill in trigger data
   {
     Rope name(c_rope_pool, triggerPtr.p->triggerName);
-    ndbrequire(name.assign(opPtr.p->m_triggerName));
+    if(!name.assign(opPtr.p->m_triggerName))
+    {
+      opPtr.p->m_errorCode = (CreateTrigRef::ErrorCode)CreateTableRef::OutOfStringBuffer;
+      return;
+    }
   }
   triggerPtr.p->triggerId = triggerId;
   triggerPtr.p->tableId = req->getTableId();
Thread
bk commit into 5.1 tree (jonas:1.2156)jonas9 Mar