List:Commits« Previous MessageNext Message »
From:Konstantin Osipov Date:August 13 2010 2:40pm
Subject:bzr commit into mysql-5.5-bugfixing branch (kostja:3108) Bug#55001
View as plain text  
#At file:///opt/local/work/5.5-runtime/ based on revid:kostja@stripped

 3108 Konstantin Osipov	2010-08-13
      A draft patch for Bug#55001 "Change in behavior:
       thread_concurrency (docs, example files)"
      Put the variable back, on all platforms.
      The variable is unused and has no effect, already in 5.1, but
      will be removed along with others in scope of deprecation process.

    modified:
      sql/sys_vars.cc
=== modified file 'sql/sys_vars.cc'
--- a/sql/sys_vars.cc	2010-08-12 13:50:23 +0000
+++ b/sql/sys_vars.cc	2010-08-13 14:40:19 +0000
@@ -1617,14 +1617,12 @@ static Sys_var_charptr Sys_socket(
        READ_ONLY GLOBAL_VAR(mysqld_unix_port), CMD_LINE(REQUIRED_ARG),
        IN_FS_CHARSET, DEFAULT(0));
 
-#ifdef HAVE_THR_SETCONCURRENCY
 static Sys_var_ulong Sys_thread_concurrency(
        "thread_concurrency",
        "Permits the application to give the threads system a hint for "
        "the desired number of threads that should be run at the same time",
        READ_ONLY GLOBAL_VAR(concurrency), CMD_LINE(REQUIRED_ARG),
        VALID_RANGE(1, 512), DEFAULT(DEFAULT_CONCURRENCY), BLOCK_SIZE(1));
-#endif
 
 static Sys_var_ulong Sys_thread_stack(
        "thread_stack", "The stack size for each thread",


Attachment: [text/bzr-bundle] bzr/kostja@sun.com-20100813144019-0t72v27h1jvr87yt.bundle
Thread
bzr commit into mysql-5.5-bugfixing branch (kostja:3108) Bug#55001Konstantin Osipov13 Aug