mariadb/sql
Alexey Kopytov 966d6d2fb0 Bug #48537: difference of index selection between rpm binary
and .tar.gz, windows vs linux..

On Intel x86 machines index selection by the MySQL query
optimizer could sometimes depend on the compiler version and
optimization flags used to build the server binary.

The problem was a result of a known issue with floating point
calculations on x86: since internal FPU precision (80 bit)
differs from precision used by programs (32-bit float or 64-bit
double), the result of calculating a complex expression may
depend on how FPU registers are allocated by the compiler and
whether intermediate values are spilled from FPU to memory. In
this particular case compiler versions and optimization flags
had an effect on cost calculation when choosing the best index
in best_access_path().

A possible solution to this problem which has already been
implemented in mysql-trunk is to limit FPU internal precision
to 64 bits. So the fix is a backport of the relevant code to
5.1 from mysql-trunk.
2010-05-29 22:16:45 +04:00
..
examples
share Bug #35250: readline check breaks when doing vpath build 2010-03-09 17:51:31 +02:00
.cvsignore
add_errmsg
authors.h Bug#50561: ALTER PARTITIONS does not have adequate lock, breaks with 2010-03-17 15:10:41 +01:00
client_settings.h
CMakeLists.txt Bug #48042 The description for Event ID ( 100 ) in Source ( MySQL ) cannot be found. 2010-04-26 23:59:50 +02:00
contributors.h
custom_conf.h
debug_sync.cc Bug #51648 DBUG_SYNC_POINT is not defined on all platforms and mtr cant pre-check that 2010-03-19 11:06:40 +02:00
debug_sync.h Bug #51648 DBUG_SYNC_POINT is not defined on all platforms and mtr cant pre-check that 2010-03-19 11:06:40 +02:00
derror.cc
des_key_file.cc
discover.cc
event_data_objects.cc Backport from next-mr-bugfixing of tor.didriksen@sun.com-20100106140051-3j2iuag63eltsr2e 2010-05-19 11:18:59 +02:00
event_data_objects.h
event_db_repository.cc Bug #49132 Replication failure on temporary table + DDL 2010-01-22 17:38:21 +08:00
event_db_repository.h
event_parse_data.cc
event_parse_data.h
event_queue.cc
event_queue.h
event_scheduler.cc fixed various pb2 test failures on windows. 2010-02-02 14:17:21 +02:00
event_scheduler.h
events.cc Bug #50095 Multi statement including CREATE EVENT causes rotten binlog entry 2010-03-28 16:37:47 +08:00
events.h
field.cc Fix for bug#50946: fast index creation still seems to copy the table 2010-04-25 15:06:40 +04:00
field.h Merging with mysql-5.1-bugteam 2010-03-17 19:15:41 +01:00
field_conv.cc Bug#48525: trigger changes "Column 'id' cannot be null" behaviour 2010-03-29 03:32:30 +01:00
filesort.cc Auto-merge. 2010-01-29 15:08:49 +04:00
frm_crypt.cc
gen_lex_hash.cc
gstream.cc
gstream.h
ha_ndbcluster.cc Bug#51591 deadlock in the plugins+status+variables 2010-04-19 15:48:37 +02:00
ha_ndbcluster.h
ha_ndbcluster_binlog.cc
ha_ndbcluster_binlog.h
ha_ndbcluster_cond.cc
ha_ndbcluster_cond.h
ha_ndbcluster_tables.h
ha_partition.cc Bug#50561: ALTER PARTITIONS does not have adequate lock, breaks with 2010-03-17 15:10:41 +01:00
ha_partition.h
handler.cc BUG#39053 - UNISTALL PLUGIN does not allow the storage engine 2010-04-14 13:53:59 +04:00
handler.h BUG#39053 - UNISTALL PLUGIN does not allow the storage engine 2010-04-14 13:53:59 +04:00
hash_filo.cc
hash_filo.h
hostname.cc
init.cc
item.cc On behalf of Kristofer : 2010-05-05 11:54:52 +03:00
item.h On behalf of Kristofer : 2010-05-05 11:54:52 +03:00
item_buff.cc
item_cmpfunc.cc Bug #49910: Behavioural change in SELECT/WHERE on YEAR(4) data type 2010-03-22 12:33:25 +04:00
item_cmpfunc.h Bug#52124 memory leaks like a sieve in datetime, timestamp, time, date fields + warnings 2010-04-16 16:42:34 +05:00
item_create.cc Bug #49829 Many "hides virtual function" warnings with 2010-03-14 17:01:45 +01:00
item_create.h Bug #49829 Many "hides virtual function" warnings with 2010-03-14 17:01:45 +01:00
item_func.cc Bug #51648 DBUG_SYNC_POINT is not defined on all platforms and mtr cant pre-check that 2010-03-19 11:06:40 +02:00
item_func.h Bug #49734: Crash on EXPLAIN EXTENDED UNION ... ORDER BY <any non-const-function> 2009-12-22 17:52:15 +02:00
item_geofunc.cc Manual merge of the fix for bug#43668. 2009-11-24 18:26:13 +03:00
item_geofunc.h
item_row.cc Bug#51598 Inconsistent behaviour with a COALESCE statement inside an IN comparison 2010-03-19 10:21:37 +04:00
item_row.h Bug#51598 Inconsistent behaviour with a COALESCE statement inside an IN comparison 2010-03-19 10:21:37 +04:00
item_strfunc.cc Bug#50373 --secure-file-priv="" 2010-05-03 18:14:39 +02:00
item_strfunc.h fixed compiler warning 2010-03-29 18:42:49 +05:00
item_subselect.cc Bug#52120 create view cause Assertion failed: 0, file .\item_subselect.cc, line 817 2010-04-06 12:26:59 +05:00
item_subselect.h Bug#52120 create view cause Assertion failed: 0, file .\item_subselect.cc, line 817 2010-04-06 12:26:59 +05:00
item_sum.cc Fix for bug#52397: another crash with explain extended and group_concat 2010-03-31 17:00:56 +04:00
item_sum.h Bug #49829 Many "hides virtual function" warnings with 2010-03-14 17:01:45 +01:00
item_timefunc.cc merge 5.0-bugteam -> 5.1-bugteam 2010-02-26 15:16:46 +02:00
item_timefunc.h Bug #42849: innodb crash with varying time_zone on partitioned 2009-12-13 23:29:50 +03:00
item_xmlfunc.cc
item_xmlfunc.h
key.cc
lex.h
lex_symbol.h
lock.cc
log.cc Bug#53189 Table map version unused and can be removed 2010-05-08 11:25:33 +08:00
log.h Bug#53189 Table map version unused and can be removed 2010-05-08 11:25:33 +08:00
log_event.cc BUG 52868: automerged bzr bundle from bug report. 2010-05-20 00:50:42 +01:00
log_event.h Bug#53189 Table map version unused and can be removed 2010-05-08 11:25:33 +08:00
log_event_old.cc BUG#52868: Wrong handling of NULL value during update, replication out 2010-04-21 13:47:55 +01:00
log_event_old.h
Makefile.am
message.h
message.mc
message.rc
mf_iocache.cc
MSG00001.bin
my_decimal.cc
my_decimal.h
my_lock.c
mysql_priv.h Bug #53804: serious flaws in the alter database .. upgrade 2010-05-21 22:47:32 +04:00
mysql_priv.h.pp
mysqld.cc Bug #48537: difference of index selection between rpm binary 2010-05-29 22:16:45 +04:00
mysqld_suffix.h
net_serv.cc Manual merge. 2010-04-29 20:18:19 -03:00
nt_servc.cc
nt_servc.h
opt_range.cc Bug#50939: Loose Index Scan unduly relies on engine to 2010-05-10 09:23:23 +02:00
opt_range.h Bug#50939: Loose Index Scan unduly relies on engine to 2010-05-10 09:23:23 +02:00
opt_sum.cc Fix for bug#52051: Aggregate functions incorrectly returns 2010-05-12 20:10:33 +04:00
parse_file.cc
parse_file.h
partition_element.h
partition_info.cc Bug #53371: COM_FIELD_LIST can be abused to bypass table level grants. 2010-05-04 17:03:28 +03:00
partition_info.h
password.c
procedure.cc
procedure.h
protocol.cc Bug #52304 valgrind does not like to print un-inited string in Protocol_text::store() 2010-03-23 17:00:50 +02:00
protocol.h
records.cc
repl_failsafe.cc Bug#49501 Inefficient information_schema check (system collation), addon 2010-01-22 14:58:21 +04:00
repl_failsafe.h
rpl_constants.h
rpl_filter.cc
rpl_filter.h
rpl_injector.cc Fix for compiler warnings: 2010-01-28 19:51:40 -02:00
rpl_injector.h
rpl_mi.cc
rpl_mi.h
rpl_record.cc Fix for compiler warnings: 2010-01-28 19:51:40 -02:00
rpl_record.h
rpl_record_old.cc
rpl_record_old.h
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc correction to the earlier merging: s/return/DBUG_RETURN/ 2009-12-14 18:50:22 +02:00
rpl_rli.h merging 5.0-bt -> 5.1-bt to local branch with bug@47210 2009-12-14 18:32:22 +02:00
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc BUG#49618: Field length stored incorrectly in binary log 2010-03-17 15:28:49 +01:00
rpl_utility.h Merging with mysql-5.1-bugteam 2010-03-17 19:15:41 +01:00
scheduler.cc
scheduler.h
set_var.cc Bug#52884 mysql-test-run does not work with --debug option 2010-05-20 10:31:03 +04:00
set_var.h
slave.cc BUG#43407 SET GLOBAL SQL_SLAVE_SKIP_COUNTER should log previous state in error log 2010-05-04 10:41:28 +01:00
slave.h
sp.cc Bug#47736 killing a select from a view when the view is processing a function, asserts 2010-02-05 13:39:46 +04:00
sp.h
sp_cache.cc Bug#50624: crash in check_table_access during call procedure 2010-02-13 08:35:14 -02:00
sp_cache.h
sp_head.cc Bug#50755: Crash if stored routine def contains version comments 2010-04-01 10:15:22 -03:00
sp_head.h Bug#50755: Crash if stored routine def contains version comments 2010-04-01 10:15:22 -03:00
sp_pcontext.cc
sp_pcontext.h Manual merge. 2009-12-18 16:44:24 -02:00
sp_rcontext.cc
sp_rcontext.h
spatial.cc
spatial.h
sql_acl.cc BUG#51987: revoke privileges logs wrong error code 2010-03-22 09:51:16 +00:00
sql_acl.h Bug#41726: upgrade from 5.0 to 5.1.30 crashes if you didn't run mysql_upgrade 2009-11-21 09:18:21 -02:00
sql_analyse.cc
sql_analyse.h
sql_array.h
sql_base.cc BUG#49019 Mixing self-logging eng. and regular eng. does not switch to row in mixed 2010-05-16 15:37:44 +01:00
sql_binlog.cc
sql_bitmap.h
sql_builtin.cc.in
sql_cache.cc
sql_cache.h
sql_class.cc Bug#53189 Table map version unused and can be removed 2010-05-08 11:25:33 +08:00
sql_class.h Bug #49756 Rows_examined is always 0 in the slow query log for 2010-05-12 13:19:12 +02:00
sql_client.cc
sql_connect.cc Manual merge. 2010-04-29 20:18:19 -03:00
sql_crypt.cc Bug#49141: Encode function is significantly slower in 5.1 compared to 5.0 2009-12-04 13:36:58 -02:00
sql_crypt.h Bug#49141: Encode function is significantly slower in 5.1 compared to 5.0 2009-12-04 13:36:58 -02:00
sql_cursor.cc
sql_cursor.h
sql_db.cc Fix for compiler warnings: 2010-01-28 19:51:40 -02:00
sql_delete.cc Bug #53450: Crash / assertion "virtual int 2010-05-14 15:36:27 +04:00
sql_derived.cc
sql_do.cc
sql_error.cc
sql_error.h
sql_handler.cc
sql_help.cc
sql_insert.cc Bug#48525: trigger changes "Column 'id' cannot be null" behaviour 2010-03-29 03:32:30 +01:00
sql_lex.cc Bug#50755: Crash if stored routine def contains version comments 2010-04-01 10:15:22 -03:00
sql_lex.h Bug #50095 Multi statement including CREATE EVENT causes rotten binlog entry 2010-03-28 16:37:47 +08:00
sql_list.cc
sql_list.h
sql_load.cc Bug#53189 Table map version unused and can be removed 2010-05-08 11:25:33 +08:00
sql_locale.cc
sql_manager.cc
sql_map.cc
sql_map.h
sql_olap.cc
sql_parse.cc Bug #53371: COM_FIELD_LIST can be abused to bypass table level grants. 2010-05-04 17:03:28 +03:00
sql_partition.cc Bug#50561: ALTER PARTITIONS does not have adequate lock, breaks with 2010-03-17 15:10:41 +01:00
sql_partition.h Bug #42849: innodb crash with varying time_zone on partitioned 2009-12-13 23:29:50 +03:00
sql_plugin.cc Bug#46261 Plugins can be installed with --skip-grant-tables 2010-04-22 15:52:00 +02:00
sql_plugin.h
sql_prepare.cc BUG#47418 RBR fails, failure with mixup of base/temporary/view 2010-01-16 15:44:24 +08:00
sql_profile.cc Bug #49829 Many "hides virtual function" warnings with 2010-03-14 17:01:45 +01:00
sql_profile.h
sql_rename.cc Backport Bug#37148 to 5.1 2010-01-24 15:03:23 +08:00
sql_repl.cc BUG#43406 CHANGE MASTER TO should log previous state in error log 2010-05-04 10:17:20 +01:00
sql_repl.h
sql_select.cc Merge of fix for Bug#52357 2010-05-07 09:12:16 +02:00
sql_select.h Addendum 2 for bug #46175: NULL read_view and consistent read assertion 2010-02-15 10:54:27 +02:00
sql_servers.cc Bug#33982 debug assertion and crash reloading grant tables after sighup or kill 2010-01-13 12:39:00 +01:00
sql_servers.h
sql_show.cc Bug#48729 SELECT ... FROM INFORMATION_SCHEMA.ROUTINES causes memory to grow 2010-05-18 13:28:21 +05:00
sql_show.h
sql_sort.h
sql_state.c
sql_string.cc
sql_string.h
sql_table.cc Bug #53804: serious flaws in the alter database .. upgrade 2010-05-21 22:47:32 +04:00
sql_tablespace.cc Backport Bug#37148 to 5.1 2010-01-24 15:03:23 +08:00
sql_test.cc Bug #50271: Debug output of JOIN structures is garbled 2010-01-28 12:10:57 +01:00
sql_trigger.cc Bug#50423: Crash on second call of a procedure dropping a trigger 2010-01-28 12:41:14 -02:00
sql_trigger.h
sql_udf.cc Manual merge with Conflicts: 2010-01-25 10:55:05 +08:00
sql_udf.h
sql_union.cc Bug #49734: Crash on EXPLAIN EXTENDED UNION ... ORDER BY <any non-const-function> 2009-12-22 17:52:15 +02:00
sql_update.cc Bug #49756 Rows_examined is always 0 in the slow query log for 2010-05-12 13:19:12 +02:00
sql_view.cc Bug#40277: SHOW CREATE VIEW returns invalid SQL 2010-03-09 07:36:26 -03:00
sql_view.h
sql_yacc.yy Bug #53371: COM_FIELD_LIST can be abused to bypass table level grants. 2010-05-04 17:03:28 +03:00
strfunc.cc
structs.h
table.cc Bug #53804: serious flaws in the alter database .. upgrade 2010-05-21 22:47:32 +04:00
table.h Bug#53189 Table map version unused and can be removed 2010-05-08 11:25:33 +08:00
thr_malloc.cc
time.cc
tzfile.h
tztime.cc
tztime.h
udf_example.c
udf_example.def
uniques.cc
unireg.cc
unireg.h