List:Commits« Previous MessageNext Message »
From:Sergei Golubchik Date:February 16 2009 6:23pm
Subject:bzr commit into mysql-6.0 branch (serg:2714) Bug#42799
View as plain text  
#At file:///usr/home/serg/Abk/mysql/6.0-maria/ based on revid:guilhem@stripped

 2714 Sergei Golubchik	2009-02-16
      Bug #42799 Maria: pushbuild: segfault related to stack_ends_here with pool-of-threads
      remove a superfluous assigment (that was dereferencing thd->mysys_var before it was set)
modified:
  sql/scheduler.cc

=== modified file 'sql/scheduler.cc'
--- a/sql/scheduler.cc	2009-02-13 12:40:13 +0000
+++ b/sql/scheduler.cc	2009-02-16 18:22:48 +0000
@@ -585,8 +585,6 @@ pthread_handler_t libevent_thread_proc(v
 
     /* set up the thd<->thread links. */
     thd->thread_stack= (char*) &thd;
-    thd->mysys_var->stack_ends_here= thd->thread_stack +
-                                     STACK_DIRECTION * (long)my_thread_stack_size;
 
     if (thd->scheduler.thread_attach())
     {

Thread
bzr commit into mysql-6.0 branch (serg:2714) Bug#42799Sergei Golubchik16 Feb