Bug #11901 | mysql_stmt_attr_set CURSOR_TYPE_READ_ONLY join in subqry order by server crash | ||
---|---|---|---|
Submitted: | 13 Jul 2005 8:45 | Modified: | 10 Aug 2005 15:25 |
Reporter: | Berto van de Kraats | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.0.10-beta | OS: | Linux (Linux) |
Assigned to: | Konstantin Osipov | CPU Architecture: | Any |
[13 Jul 2005 8:45]
Berto van de Kraats
[13 Jul 2005 8:47]
Berto van de Kraats
Cpp trace of problem
Attachment: bug11901.cpp (text/plain), 28.90 KiB.
[13 Jul 2005 13:19]
MySQL Verification Team
050713 10:14:42 [Note] /home/miguel/dbs/5.0/libexec/mysqld: ready for connections. Version: '5.0.10-beta-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution [New Thread 180236 (LWP 18124)] [Thread 180236 (LWP 18124) exited] [New Thread 196621 (LWP 18129)] [New Thread 213006 (LWP 18132)] [Thread 196621 (LWP 18129) exited] [New Thread 229391 (LWP 18133)] mysqld: sql_select.cc:1644: void JOIN::exec(): Assertion `curr_join == this' failed. Program received signal SIGABRT, Aborted. [Switching to Thread 229391 (LWP 18133)] 0x40269ef1 in kill () from /lib/libc.so.6 (gdb) backtrace full #0 0x40269ef1 in kill () from /lib/libc.so.6 No symbol table info available. #1 0x4018fbb1 in pthread_kill () from /lib/libpthread.so.0 No symbol table info available. #2 0x4018ff2b in raise () from /lib/libpthread.so.0 No symbol table info available. #3 0x40269b24 in raise () from /lib/libc.so.6 No symbol table info available. #4 0x4026b3fd in abort () from /lib/libc.so.6 No symbol table info available. #5 0x4026300f in __assert_fail () from /lib/libc.so.6 No symbol table info available. #6 0x0821be7e in JOIN::exec (this=0x8e10c38) at sql_select.cc:1644 tmp_error = 0 _db_func_ = 0x8e46f08 " pä\b pä\btTá\bXpä\bønä\bÐnä\b" _db_file_ = 0x8e153c4 "Ð\206ä\b\002" _db_level_ = 148966456 _db_framep_ = (char **) 0x8e152a8 curr_join = (JOIN *) 0x8e5b910 curr_all_fields = (List<Item> *) 0x8e11970 curr_fields_list = (List<Item> *) 0x8e11994 curr_tmp_table = (TABLE *) 0x8e53eb0 #7 0x0821cedd in mysql_select (thd=0x8e09390, rref_pointer_array=0x8e153c4, tables=0x8e46f08, wild_num=0, fields=@0x8e1532c, conds=0x8e48760, og_num=1, order=0x8e48688, group=0x0, having=0x0, proc_param=0x0, select_options=2425113088, result=0x8e58a70, unit=0x8e150cc, select_lex=0x8e152a8) at sql_select.cc:2044 err = false free_join = true _db_func_ = 0x813ec68 "\203Ä\020\211Eð\211Uôë\016ÇEðÿÿÿÿÇEôÿÿÿÿ\213Eð\213Uô\211Eø\211Uü\213U\b\211Uì\213E\f\203¸\030\001" _db_file_ = 0xbddfe9ec "" _db_level_ = 140629295 _db_framep_ = (char **) 0x861d7ec join = (JOIN *) 0x8e10c38 #8 0x0821783f in handle_select (thd=0x8e09390, lex=0x8e150bc, result=0x8e58a70, setup_tables_done_option=0) at sql_select.cc:238 unit = (SELECT_LEX_UNIT *) 0x8e150cc res = false select_lex = (SELECT_LEX *) 0x8e152a8 _db_func_ = 0x0 _db_file_ = 0x0 _db_level_ = 149188360 ---Type <return> to continue, or q <return> to quit--- _db_framep_ = (char **) 0x0 #9 0x081e2b60 in mysql_execute_command (thd=0x8e09390) at sql_parse.cc:2424 result = (class select_result *) 0x8e58a70 res = false result = 0 lex = (LEX *) 0x8e150bc select_lex = (SELECT_LEX *) 0x8e152a8 slave_fake_lock = false fake_prev_lock = (MYSQL_LOCK *) 0x0 first_table = (TABLE_LIST *) 0x8e46f08 all_tables = (TABLE_LIST *) 0x8e46f08 unit = (SELECT_LEX_UNIT *) 0x8e150cc _db_func_ = 0xbddfef5c "" _db_file_ = 0x401904e8 "]\213\200¸\001" _db_level_ = 3185569596 _db_framep_ = (char **) 0x40195ff4 #10 0x0824455b in mysql_stmt_execute (thd=0x8e09390, packet=0x8e2c9ae "\n", packet_length=18) at sql_prepare.cc:2050 stmt_id = 1 flags = 1 stmt_backup = {<Query_arena> = {_vptr.Query_arena = 0x85ba170, free_list = 0x0, mem_root = 0x8e093b0, is_backup_arena = false, state = CONVENTIONAL_EXECUTION}, main_mem_root = {free = 0x0, used = 0x0, pre_alloc = 0x0, min_malloc = 0, block_size = 148966212, block_num = 4, first_block_usage = 0, error_handler = 0x4019140e <__pthread_alt_unlock+14>}, main_lex = {_vptr.st_lex = 0x858f638, yylineno = 1075384369, yytoklen = 0, yylval = 0x1, unit = {<st_select_lex_node> = {_vptr.st_select_lex_node = 0x858f588, next = 0xbddff05c, prev = 0x8141d53, master = 0xbddff094, slave = 0x8e09390, link_next = 0xbddff06c, link_prev = 0x4018dc6a, options = 1075385358, uncacheable = 14 '\016', linkage = UNSPECIFIED_TYPE, no_table_names_allowed = 14, no_error = 63}, result_table_list = {next_local = 0xbddff094, next_global = 0xbddff0c4, prev_global = 0x50, db = 0x8779040 "!", alias = 0x4 <Address 0x4 out of bounds>, table_name = 0x0, schema_table_name = 0x4035b9c0 "", option = 0x0, on_expr = 0x1, prep_on_expr = 0x0, cond_equal = 0x8e38860, natural_join = 0x4035b9c0, use_index = 0xbddff0c4, ignore_index = 0x50, table = 0x50, derived_result = 0xbddff000, correspondent_table = 0x8779040, derived = 0x4035b9c0, schema_table = 0x8e38860, schema_select_lex = 0x8e09390, schema_table_reformed = 224, schema_table_param = 0x8e09390, select_lex = 0xbddff0ec, view = 0x854cb97, field_translation = 0x13b, field_translation_end = 0xbddff0e4, ancestor = 0xbddff0e0, belong_to_view = 0xbddff0dc, next_leaf = 0x0, where = 0x0, check_option = 0xbddff11c, query = {str = 0x854c01a "\203Ä \203=T\027{\b", length = 141016396}, md5 = { str = 0x8e38860 "\020iá\b¨Ãã\bpïX\b6\006", length = 3185570076}, source = { str = 0x854c1b4 "\203Ä\020ÉÃU\211å\203ì\004\213E\b\213@\004\211Eü\203}ü", length = 305}, view_db = { str = 0xbddff118 "è¦\\\b<ñß½\214Ç\035\bÀÊi\b\220\223à\b \vá\b¸Þi\b", length = 3185570068}, view_name = { str = 0xbddff110 "]Ê \b\220\223à\bè¦\\\b<ñß½\214Ç\035\bÀÊi\b\220\223à\b \vá\b¸Þi\b", length = 149129336}, timestamp = {str = 0x0, length = 3185570204}, file_version = 639673393907550813, updatable_view = 13681919433115477736, revision = 606238550976743308, algorithm = 639805404034929552, with_check = 288230376292867768, effective_with_check = 0 '\0', effective_algorithm = 0 '\0', grant = {grant_table = 0xbddff16c, version = 136144659, privilege = 141150912, want_privilege = 142178360}, ---Type <return> to continue, or q <return> to quit--- engine_data = 586416081659228524, callback_func = 0x8e095bc, lock_type = TL_READ, outer_join = 148966304, shared = 0, db_length = 140284664, table_name_length = 0, updatable = 204, straight = 241, updating = 223, force_index = 189, ignore_leaves = 127, dep_tables = 13681919862471920489, on_expr_dep_tables = 13681919831297749404, nested_join = 0x8e093d0, embedding = 0x0, join_list = 0xbddff1cc, cacheable_table = false, table_in_first_from_clause = false, skip_temporary = false, contain_auto_increment = false, multitable_view = 88, where_processed = 29, required_type = FRMTYPE_ERROR, timestamp_buffer = "Ìñß½Ø\232à\b", '\0' <repeats 11 times>, prelocking_placeholder = false}, union_result = 0x0, table = 0x0, result = 0xbddff71c, found_rows_for_union = 136205334, res = 144, prepared = 147, optimized = 224, executed = 8, cleaned = false, item_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff1cc, elements = 0}, <No data fields>}, types = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff1d8, elements = 0}, <No data fields>}, global_parameters = 0x0, return_to = 0x0, select_limit_cnt = 639673668649091072, offset_limit_cnt = 0, item = 0x0, thd = 0x0, fake_select_lex = 0x0, union_distinct = 0x0, describe = false, last_procedure = 0x0}, select_lex = {<st_select_lex_node> = { _vptr.st_select_lex_node = 0x858f528, next = 0x0, prev = 0x0, master = 0x0, slave = 0x0, link_next = 0x0, link_prev = 0x0, options = 0, uncacheable = 0 '\0', linkage = UNSPECIFIED_TYPE, no_table_names_allowed = false, no_error = false}, context = { outer_context = 0x0, table_list = 0x0, select_lex = 0x0, error_processor = 0, error_processor_data = 0x0, resolve_in_select_list = false, check_privileges = true}, db = 0x0, db1 = 0x0, table1 = 0x0, db2 = 0x0, table2 = 0x0, where = 0x0, having = 0x0, prep_where = 0x0, parent_lex = 0x0, olap = UNSPECIFIED_OLAP_TYPE, table_list = {elements = 0, first = 0x0, next = 0x0}, group_list = {elements = 148936736, first = 0x0, next = 0x0}, item_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff298, elements = 0}, <No data fields>}, interval_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff2a4, elements = 0}, <No data fields>}, use_index = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff2b0, elements = 0}, <No data fields>}, use_index_ptr = 0x0, ignore_index = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff2c0, elements = 0}, <No data fields>}, ignore_index_ptr = 0x0, ftfunc_list = 0x0, ftfunc_list_alloc = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff2d4, elements = 0}, <No data fields>}, join = 0x0, top_join_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff2e4, elements = 0}, <No data fields>}, join_list = 0x0, embedding = 0x0, leaf_tables = 0x0, type = 0x0, order_list = {elements = 0, first = 0x0, next = 0x0}, expr_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff30c, elements = 0}, <No data fields>}, when_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff318, elements = 0}, <No data fields>}, gorder_list = 0x0, select_limit = 0x0, offset_limit = 0x0, ref_pointer_array = 0x0, select_n_having_items = 0, cond_count = 0, parsing_place = NO_MATTER, with_sum_func = false, conds_processed_with_permanent_arena = false, table_join_options = 0, in_sum_expr = 0, select_number = 0, with_wild = 0, braces = false, having_fix_field = false, explicit_limit = false, subquery_in_having = false, first_execution = false, first_cond_optimization = false, no_wrap_view_item = false, exclude_from_table_unique_test = false}, current_select = 0x0, all_selects_list = 0x0, buf = 0x0, ptr = 0x0, tok_start = 0x0, tok_end = 0x0, end_of_query = 0x0, length = 0x0, dec = 0x0, change = 0x0, name = 0x0, help_arg = 0x0, backup_dir = 0x0, to_log = 0x0, x509_subject = 0x0, x509_issuer = 0x0, ssl_cipher = 0x0, found_semicolon = 0x0, wild = 0x0, exchange = 0x0, result = 0x0, default_value = 0x0, on_update_value = 0x0, comment = {str = 0x0, length = 0}, ident = {str = 0x0, length = 0}, grant_user = 0x0, xid = 0x0, yacc_yyss = 0x0, yacc_yyvs = 0x0, thd = 0x0, charset = 0x0, query_tables = 0x0, query_tables_last = 0x0, proc_table = 0x0, leaf_tables_insert = 0x0, col_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff3f0, elements = 0}, <No data fields>}, ---Type <return> to continue, or q <return> to quit--- ref_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff3fc, elements = 0}, <No data fields>}, interval_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff408, elements = 0}, <No data fields>}, users_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff414, elements = 0}, <No data fields>}, columns = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff420, elements = 0}, <No data fields>}, key_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff42c, elements = 0}, <No data fields>}, create_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff438, elements = 0}, <No data fields>}, insert_list = 0x0, field_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff448, elements = 0}, <No data fields>}, value_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff454, elements = 0}, <No data fields>}, update_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff460, elements = 0}, <No data fields>}, many_values = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff46c, elements = 0}, <No data fields>}, var_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff478, elements = 0}, <No data fields>}, param_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff484, elements = 0}, <No data fields>}, view_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff490, elements = 0}, <No data fields>}, proc_list = {elements = 0, first = 0x0, next = 0x0}, auxilliary_table_list = {elements = 0, first = 0x0, next = 0x0}, save_list = { elements = 1075385358, first = 0x0, next = 0x40191031}, last_field = 0x0, udf = {name = {str = 0x1 <Address 0x1 out of bounds>, length = 0}, returns = STRING_RESULT, type = 1075404788, dl = 0x87b3520 "", dlhandle = 0x8e09390, func = 0xbddff4fc, func_init = 0x4018dc6a, func_deinit = 0x4019140e, func_clear = 0x8e0939c, func_add = 0x40191031, usage_count = 0}, check_opt = { sort_buffer_size = 1, flags = 0, sql_flags = 0, key_cache = 0x40195ff4}, create_info = {table_charset = 0x87b3520, default_table_charset = 0x8e09390, comment = 0xbddff52c "\034÷ß½iò.\b\202\004", password = 0x4018dc6a "ëÌ\215t&", data_file_name = 0x87b3530 "", index_file_name = 0x8e0939c "ø£[\bhÔå\b°\223à\b", alias = 0xbddff71c ",÷ß½Ð\223à\b", max_rows = 604002968960688935, min_rows = 13681925892746630447, auto_increment_value = 4956529554025, table_options = 3185571520, avg_row_length = 3185571516, raid_chunksize = 3185571512, used_fields = 3185572832, merge_list = {elements = 0, first = 0xbddff6ac "x\210ã\b", next = 0x854c713}, db_type = 202, row_type = -1109395816, null_bits = 3185571476, options = 3185571472, raid_type = 0, raid_chunks = 0, merge_insert_method = 0, table_existed = 165, frm_only = 255, varchar = 255}, mi = {host = 0x842e09 <Address 0x842e09 out of bounds>, user = 0x0, password = 0x0, log_file_name = 0x8e4fb00 "\003def\004test\002a0\ftdbtst120000\nt_workdept\nt_workdept\f\b", port = 0, connect_retry = 0, pos = 0, server_id = 0, ssl = SSL_UNCHANGED, ssl_key = 0x0, ssl_cert = 0x0, ssl_ca = 0x0, ssl_capath = 0x0, ssl_cipher = 0x0, relay_log_name = 0x0, relay_log_pos = 0}, mqh = {questions = 0, updates = 0, conn_per_hour = 0, user_conn = 0, specified_limits = 0}, type = 0, sql_command = SQLCOM_END, orig_sql_command = SQLCOM_SELECT, lock_option = TL_UNLOCK, ssl_type = SSL_TYPE_NONE, next_state = MY_LEX_START, duplicates = 1075385358, tx_isolation = ISO_READ_UNCOMMITTED, ha_read_mode = 1075384369, { ha_rkey_mode = HA_READ_KEY_EXACT, xa_opt = XA_NONE}, option_type = OPT_SESSION, create_view_mode = VIEW_CREATE_NEW, drop_mode = DROP_DEFAULT, uint_geom_type = 3185571332, grant = 3407872, grant_tot_col = 50528722, which_columns = 105907363, fk_delete_opt = 156174328, fk_update_opt = 1075385358, fk_match_option = 139987961, slave_thd_opt = 1075384369, start_transaction_opt = 0, table_count = 1, describe = 0 '\0', derived_tables = 0 '\0', create_view_algorithm = 0 '\0', create_view_check = 0 '\0', drop_if_exists = 76, drop_temporary = 246, local_file = 223, one_shot_set = 189, in_comment = 83, ignore_space = 29, verbose = 20, no_write_to_binlog = 8, tx_chain = 200, tx_release = 11, view_prepare_mode = 225, safe_to_cache_query = 8, subqueries = 144, ignore = 147, variables_used = 224, alter_info = { drop_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff63c, elements = 0}, <No data fields>}, ---Type <return> to continue, or q <return> to quit--- alter_list = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff648, elements = 0}, <No data fields>}, flags = 1075385358, keys_onoff = LEAVE_AS_IS, tablespace_op = NO_TABLESPACE_OP}, prepared_stmt_name = {str = 0x0, length = 1}, prepared_stmt_code = {str = 0x0, length = 0}, prepared_stmt_code_is_varref = 244, prepared_stmt_params = {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x8797838, last = 0xbddff674, elements = 0}, <No data fields>}, time_zone_tables_used = 0x4018dc6a, sphead = 0x4019140e, spname = 0x4019140e, sp_lex_in_use = 49, all_privileges = 16, spcont = 0x0, sroutines = {key_offset = 0, key_length = 0, records = 0, blength = 1, current_record = 4294967295, flags = 0, array = {buffer = 0x8e38878 '¥' <repeats 200 times>..., elements = 0, max_element = 1019, alloc_increment = 1019, size_of_element = 8}, get_key = 0x832afea <sp_sroutine_key>, free = 0, charset = 0x8779040}, sroutines_list = {elements = 0, first = 0x0, next = 0xbddff6d0}, sp_chistics = {comment = {str = 0x4035b9c0 "", length = 149268792}, suid = 148935568, detistic = 14, daccess = 148935568}, only_view = 49, empty_field_list_on_rset = 16, trg_chistics = {action_time = TRG_ACTION_BEFORE, event = TRG_EVENT_UPDATE}, trg_table_fields = {elements = 0, first = 0x0, next = 0x40195ff4}, query_tables_own_last = 0x0, fname_start = 0x8e09390 "è£[\b(ñy\bèDã\bø£[\bhÔå\b°\223à\b", fname_end = 0xbddff72c ""}, id = 0, set_query_id = true, allow_sum_func = false, name = {str = 0x8e09390 "è£[\b(ñy\bèDã\bø£[\bhÔå\b°\223à\b", length = 3185571628}, lex = 0x8e093d0, query = 0x0, query_length = 0, cursor = 0x0} cursor = (class Cursor *) 0x8e58a10 expanded_query = {Ptr = 0x0, str_length = 0, Alloced_length = 0, alloced = false, str_charset = 0x8794b20} packet_end = (uchar *) 0x8e2c9b2 "" stmt = (Prepared_statement *) 0x8e15088 _db_func_ = 0xbddfefe8 "àûß½<ðß" _db_file_ = 0xbddfeff4 "p¡[\b" _db_level_ = 136592453 _db_framep_ = (char **) 0xbddff74c #11 0x081e0e31 in dispatch_command (command=COM_STMT_EXECUTE, thd=0x8e09390, packet=0x8e2c9a1 "\001", packet_length=18) at sql_parse.cc:1639 net = (NET *) 0x8e09ad8 error = false _db_func_ = 0x6100b8 <Address 0x6100b8 out of bounds> _db_file_ = 0x0 _db_level_ = 136925392 _db_framep_ = (char **) 0xbddff9dc #12 0x081e0855 in do_command (thd=0x8e09390) at sql_parse.cc:1477 packet = 0x8e2c9a0 "\027\001" old_timeout = 30 packet_length = 18 net = (NET *) 0x8e09ad8 command = COM_STMT_EXECUTE _db_func_ = 0x8e0a3d4 "\001" _db_file_ = 0x81ba557 "\203Ä\020ÉÃU\211å\203ì\b\203ì\fÿu\bè\217" _db_level_ = 3185572348 _db_framep_ = (char **) 0x1010 ---Type <return> to continue, or q <return> to quit--- #13 0x081dfa5d in handle_one_connection (arg=0x8e09390) at sql_parse.cc:1126 error = 0 net = (NET *) 0x8e09ad8 thd = (class THD *) 0x8e09390 launch_time = 0 set = {__val = {0 <repeats 32 times>}} #14 0x4018d54e in pthread_start_thread () from /lib/libpthread.so.0 No symbol table info available. #15 0x4018d5df in pthread_start_thread_event () from /lib/libpthread.so.0 No symbol table info available. #16 0x402fab8a in clone () from /lib/libc.so.6 No symbol table info available. (gdb)
[25 Jul 2005 15:51]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/27558
[4 Aug 2005 7:24]
Konstantin Osipov
Peter, thank you very much for taking into account my notes.
[9 Aug 2005 17:58]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/28080
[9 Aug 2005 18:32]
Omer Barnir
Setting reviewer to Monty, based on discussion with Brian on August 9th. Also setting showstopper flag to "yes" so will show on the list of show stoppers
[10 Aug 2005 8:29]
Konstantin Osipov
Fixed in 5.0 tree, tagged 5.0.12
[10 Aug 2005 15:25]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: Documented in 5.0.12 changelog. (Konstantin: Please review my note in the changelog and make any suggestions for improvement if you think they are required.)