Loading sql/mysqld.cc +7 −11 Original line number Diff line number Diff line Loading @@ -280,7 +280,11 @@ static TYPELIB tc_heuristic_recover_typelib= }; static const char *thread_handling_names[]= { "one-thread-per-connection", "no-threads", "pool-of-threads", NullS}; { "one-thread-per-connection", "no-threads", #if HAVE_POOL_OF_THREADS == 1 "pool-of-threads", #endif NullS}; TYPELIB thread_handling_typelib= { Loading Loading @@ -7860,16 +7864,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), break; case OPT_THREAD_HANDLING: { if ((global_system_variables.thread_handling= find_type(argument, &thread_handling_typelib, 2)) <= 0 || (global_system_variables.thread_handling == SCHEDULER_POOL_OF_THREADS && !HAVE_POOL_OF_THREADS)) { /* purecov: begin tested */ fprintf(stderr,"Unknown/unsupported thread-handling: %s\n",argument); exit(1); /* purecov: end */ } global_system_variables.thread_handling= find_type_or_exit(argument, &thread_handling_typelib, opt->name); break; } case OPT_FT_BOOLEAN_SYNTAX: Loading sql/net_serv.cc +1 −1 Original line number Diff line number Diff line Loading @@ -298,7 +298,7 @@ void net_clear(NET *net, my_bool clear_buffer) { DBUG_PRINT("info",("skipped %d bytes from file: %s", count, vio_description(net->vio))); #if defined(EXTRA_DEBUG) && (MYSQL_VERSION_ID < 51000) #if defined(EXTRA_DEBUG) && (MYSQL_VERSION_ID < 50100) fprintf(stderr,"Error: net_clear() skipped %d bytes from file: %s\n", count, vio_description(net->vio)); #endif Loading Loading
sql/mysqld.cc +7 −11 Original line number Diff line number Diff line Loading @@ -280,7 +280,11 @@ static TYPELIB tc_heuristic_recover_typelib= }; static const char *thread_handling_names[]= { "one-thread-per-connection", "no-threads", "pool-of-threads", NullS}; { "one-thread-per-connection", "no-threads", #if HAVE_POOL_OF_THREADS == 1 "pool-of-threads", #endif NullS}; TYPELIB thread_handling_typelib= { Loading Loading @@ -7860,16 +7864,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), break; case OPT_THREAD_HANDLING: { if ((global_system_variables.thread_handling= find_type(argument, &thread_handling_typelib, 2)) <= 0 || (global_system_variables.thread_handling == SCHEDULER_POOL_OF_THREADS && !HAVE_POOL_OF_THREADS)) { /* purecov: begin tested */ fprintf(stderr,"Unknown/unsupported thread-handling: %s\n",argument); exit(1); /* purecov: end */ } global_system_variables.thread_handling= find_type_or_exit(argument, &thread_handling_typelib, opt->name); break; } case OPT_FT_BOOLEAN_SYNTAX: Loading
sql/net_serv.cc +1 −1 Original line number Diff line number Diff line Loading @@ -298,7 +298,7 @@ void net_clear(NET *net, my_bool clear_buffer) { DBUG_PRINT("info",("skipped %d bytes from file: %s", count, vio_description(net->vio))); #if defined(EXTRA_DEBUG) && (MYSQL_VERSION_ID < 51000) #if defined(EXTRA_DEBUG) && (MYSQL_VERSION_ID < 50100) fprintf(stderr,"Error: net_clear() skipped %d bytes from file: %s\n", count, vio_description(net->vio)); #endif Loading