From: Date: November 10 2007 2:36pm Subject: bk commit into 5.1 tree (istruewing:1.2611) BUG#31210 List-Archive: http://lists.mysql.com/commits/37514 X-Bug: 31210 Message-Id: Below is the list of changes that have just been committed into a local 5.1 repository of istruewing. When istruewing 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-11-10 14:36:25+01:00, istruewing@stripped +1 -0 Bug#31210 - INSERT DELAYED crashes server when used on partitioned table Post-merge fix A new need for lex initialization arose. sql/ha_ndbcluster.cc@stripped, 2007-11-10 14:36:23+01:00, istruewing@stripped +1 -0 Bug#31210 - INSERT DELAYED crashes server when used on partitioned table Initialized lex for later use in open_table(). diff -Nrup a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc --- a/sql/ha_ndbcluster.cc 2007-11-02 23:40:15 +01:00 +++ b/sql/ha_ndbcluster.cc 2007-11-10 14:36:23 +01:00 @@ -9073,6 +9073,7 @@ pthread_handler_t ndb_util_thread_func(v thd->thread_stack= (char*)&thd; /* remember where our stack is */ if (thd->store_globals()) goto ndb_util_thread_fail; + lex_start(thd); thd->init_for_queries(); thd->version=refresh_version; thd->main_security_ctx.host_or_ip= "";