mariadb/sql
Alexander Barkov 84ee0a9fa4 Bug#55912 FORMAT with locale set fails for numbers < 1000
Problems:
- dot character was always printed as decimal point
  instead of localized decimal point for short
  numbers without thousands
- Item_func_format::val_str always returned values in ASCII
format,
  regargless of @@character_set_connection, which in case of utf32
  led to crash in debug build, or to incorrect values in release build.

Fix:
- Adding a piece of code to replace dot character to
  localized decimal point in short numbers.
- Changing parent class for Item_func_format to
  Item_str_ascii_func, because its val_str() implementation is heavily ASCII oriented.
2010-08-20 15:14:11 +04:00
..
examples Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect). 2010-08-12 19:19:57 +04:00
share Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect). 2010-08-12 19:19:57 +04:00
add_errmsg
authors.h
client_settings.h
CMakeLists.txt Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
contributors.h
custom_conf.h
datadict.cc Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
datadict.h Bug#49907: ALTER TABLE ... TRUNCATE PARTITION does not wait for 2010-08-16 14:53:30 +02:00
debug_sync.cc
debug_sync.h
derror.cc
derror.h
des_key_file.cc
des_key_file.h
discover.cc
discover.h
event_data_objects.cc
event_data_objects.h
event_db_repository.cc Bug #54105 assert in MDL_context::release_locks_stored_before 2010-08-13 10:02:37 +02:00
event_db_repository.h
event_parse_data.cc
event_parse_data.h
event_queue.cc
event_queue.h
event_scheduler.cc
event_scheduler.h
events.cc Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
events.h merge 2010-08-05 15:34:19 +03:00
field.cc Auto-merge from mysql-trunk-merge. 2010-07-29 16:32:11 +04:00
field.h
field_conv.cc
filesort.cc
filesort.h
frm_crypt.cc
frm_crypt.h
gen_lex_hash.cc
gstream.cc
gstream.h
ha_ndbcluster.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
ha_ndbcluster.h
ha_ndbcluster_binlog.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
ha_ndbcluster_binlog.h A fix for Bug#41158 "DROP TABLE holds LOCK_open during unlink()". 2010-08-09 22:33:47 +04:00
ha_ndbcluster_cond.cc Bug#49746: Const expression caching led to NDB not using engine condition 2010-08-14 13:11:33 +04:00
ha_ndbcluster_cond.h
ha_ndbcluster_tables.h
ha_partition.cc
ha_partition.h
handler.cc A fix for Bug#41158 "DROP TABLE holds LOCK_open during unlink()". 2010-08-09 22:33:47 +04:00
handler.h Merge from mysql-5.5-bugfixing to mysql-5.5-runtime 2010-08-18 13:55:37 +02:00
hash_filo.cc
hash_filo.h
hostname.cc
hostname.h
init.cc
init.h
item.cc Bug#49746: Const expression caching led to NDB not using engine condition 2010-08-14 13:11:33 +04:00
item.h Bug#54916 GROUP_CONCAT + IFNULL truncates output 2010-08-19 15:55:35 +04:00
item_buff.cc merge 2010-07-30 16:56:57 +03:00
item_cmpfunc.cc Bug#54916 GROUP_CONCAT + IFNULL truncates output 2010-08-19 15:55:35 +04:00
item_cmpfunc.h
item_create.cc
item_create.h
item_func.cc Bug#54916 GROUP_CONCAT + IFNULL truncates output 2010-08-19 15:55:35 +04:00
item_func.h
item_geofunc.cc
item_geofunc.h
item_row.cc
item_row.h
item_strfunc.cc Bug#55912 FORMAT with locale set fails for numbers < 1000 2010-08-20 15:14:11 +04:00
item_strfunc.h Bug#55912 FORMAT with locale set fails for numbers < 1000 2010-08-20 15:14:11 +04:00
item_subselect.cc
item_subselect.h
item_sum.cc
item_sum.h
item_timefunc.cc
item_timefunc.h
item_xmlfunc.cc
item_xmlfunc.h
key.cc
key.h
keycaches.cc
keycaches.h
lex.h
lex_symbol.h
lock.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
lock.h Extract reload_acl_and_cache() and flush_tables_with_read_lock() 2010-08-13 13:51:48 +04:00
log.cc BUG#53452 Inconsistent behavior of binlog_direct_non_transactional_updates with 2010-08-20 03:59:58 +01:00
log.h
log_event.cc BUG#53452 Inconsistent behavior of binlog_direct_non_transactional_updates with 2010-08-20 03:59:58 +01:00
log_event.h
log_event_old.cc
log_event_old.h
main.cc
Makefile.am Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
mdl.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
mdl.h Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
message.h
message.mc
message.rc
mf_iocache.cc
MSG00001.bin
my_decimal.cc
my_decimal.h
mysqld.cc Merge from mysql-5.5-runtime to mysql-5.5-bugfixing. 2010-08-20 10:24:32 +02:00
mysqld.h Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
mysqld_suffix.h
net_serv.cc
nt_servc.cc
nt_servc.h
opt_range.cc
opt_range.h
opt_sum.cc
parse_file.cc
parse_file.h
partition_element.h
partition_info.cc
partition_info.h
password.c
procedure.cc
procedure.h
protocol.cc Auto-merge from mysql-trunk-merge. 2010-07-29 16:32:11 +04:00
protocol.h
records.cc
records.h
repl_failsafe.cc
repl_failsafe.h
replication.h
rpl_constants.h
rpl_filter.cc
rpl_filter.h
rpl_handler.cc
rpl_handler.h
rpl_injector.cc
rpl_injector.h
rpl_mi.cc
rpl_mi.h
rpl_record.cc
rpl_record.h
rpl_record_old.cc
rpl_record_old.h
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc
rpl_rli.h
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc
rpl_utility.h
scheduler.cc
scheduler.h
set_var.cc
set_var.h
sha2.cc
slave.cc Auto-merge from mysql-trunk-merge. 2010-07-29 16:32:11 +04:00
slave.h
sp.cc
sp.h
sp_cache.cc
sp_cache.h
sp_head.cc Fix use of uninitialized variable. 2010-08-12 16:51:46 +04:00
sp_head.h
sp_pcontext.cc
sp_pcontext.h Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
sp_rcontext.cc Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
sp_rcontext.h Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
spatial.cc
spatial.h
sql_acl.cc Auto-merge from mysql-trunk-merge. 2010-07-29 16:32:11 +04:00
sql_acl.h
sql_admin.cc Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
sql_admin.h Rename of sql_alter_table -> sql_alter and sql_table_maintenance -> sql_admin 2010-08-16 16:25:23 +02:00
sql_alter.cc Rename of sql_alter_table -> sql_alter and sql_table_maintenance -> sql_admin 2010-08-16 16:25:23 +02:00
sql_alter.h Rename of sql_alter_table -> sql_alter and sql_table_maintenance -> sql_admin 2010-08-16 16:25:23 +02:00
sql_analyse.cc
sql_analyse.h
sql_array.h
sql_audit.cc
sql_audit.h
sql_base.cc Merge from mysql-5.5-runtime to mysql-5.5-bugfixing. 2010-08-20 10:24:32 +02:00
sql_base.h Merge from mysql-5.5-runtime to mysql-5.5-bugfixing. 2010-08-20 10:24:32 +02:00
sql_binlog.cc
sql_binlog.h
sql_bitmap.h
sql_builtin.cc.in
sql_cache.cc
sql_cache.h
sql_class.cc BUG#53452 Inconsistent behavior of binlog_direct_non_transactional_updates with 2010-08-20 03:59:58 +01:00
sql_class.h Auto-merge from mysql-5.5. 2010-08-18 11:48:38 +04:00
sql_client.cc
sql_connect.cc
sql_connect.h
sql_const.h
sql_crypt.cc
sql_crypt.h
sql_cursor.cc Auto-merge from mysql-trunk-merge. 2010-07-29 16:32:11 +04:00
sql_cursor.h
sql_db.cc
sql_db.h
sql_delete.cc
sql_delete.h
sql_derived.cc
sql_derived.h
sql_do.cc
sql_do.h
sql_error.cc Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
sql_error.h Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
sql_handler.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
sql_handler.h
sql_help.cc
sql_help.h
sql_hset.h
sql_insert.cc Merge from mysql-5.5-runtime to mysql-5.5-bugfixing. 2010-08-20 10:24:32 +02:00
sql_insert.h
sql_lex.cc BUG#53452 Inconsistent behavior of binlog_direct_non_transactional_updates with 2010-08-20 03:59:58 +01:00
sql_lex.h BUG#53452 Inconsistent behavior of binlog_direct_non_transactional_updates with 2010-08-20 03:59:58 +01:00
sql_list.cc
sql_list.h
sql_load.cc Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 11:49:14 +08:00
sql_load.h
sql_locale.cc
sql_locale.h
sql_manager.cc
sql_manager.h
sql_parse.cc Merge from mysql-5.5-bugfixing to mysql-5.5-runtime 2010-08-18 13:55:37 +02:00
sql_parse.h Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
sql_partition.cc Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
sql_partition.h
sql_partition_admin.cc Rename of sql_alter_table -> sql_alter and sql_table_maintenance -> sql_admin 2010-08-16 16:25:23 +02:00
sql_partition_admin.h Bug#49907: ALTER TABLE ... TRUNCATE PARTITION does not wait for 2010-08-16 14:53:30 +02:00
sql_plist.h
sql_plugin.cc Bug #56085 Embedded server tests fails with assert in 2010-08-19 11:33:37 +02:00
sql_plugin.h
sql_plugin_services.h
sql_prepare.cc WL#5370 Keep forward-compatibility when changing 2010-08-18 17:35:41 +08:00
sql_prepare.h
sql_priv.h
sql_profile.cc
sql_profile.h
sql_reload.cc Extract reload_acl_and_cache() and flush_tables_with_read_lock() 2010-08-13 13:51:48 +04:00
sql_reload.h Extract reload_acl_and_cache() and flush_tables_with_read_lock() 2010-08-13 13:51:48 +04:00
sql_rename.cc Followup for Bug #54360 Deadlock DROP/ALTER/CREATE DATABASE 2010-08-10 13:16:44 +02:00
sql_rename.h
sql_repl.cc
sql_repl.h
sql_select.cc manual merge from mysql-5.1-bugteam 2010-08-09 14:11:29 +02:00
sql_select.h
sql_servers.cc Remove dead code. 2010-08-12 20:44:41 +04:00
sql_servers.h
sql_show.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
sql_show.h
sql_signal.cc Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
sql_signal.h
sql_sort.h
sql_state.c
sql_string.cc
sql_string.h
sql_table.cc Merge from mysql-5.5-runtime to mysql-5.5-bugfixing. 2010-08-20 10:24:32 +02:00
sql_table.h BUG#53452 Inconsistent behavior of binlog_direct_non_transactional_updates with 2010-08-20 03:59:58 +01:00
sql_tablespace.cc
sql_tablespace.h
sql_test.cc Cleanup: remove unused declarations from sql_base.h. 2010-08-04 20:29:13 +04:00
sql_test.h
sql_time.cc
sql_time.h
sql_trigger.cc A fix for Bug#41158 "DROP TABLE holds LOCK_open during unlink()". 2010-08-09 22:33:47 +04:00
sql_trigger.h
sql_truncate.cc Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
sql_truncate.h Bug#49907: ALTER TABLE ... TRUNCATE PARTITION does not wait for 2010-08-16 14:53:30 +02:00
sql_udf.cc
sql_udf.h
sql_union.cc
sql_union.h
sql_update.cc manual merge from mysql-5.1-bugteam 2010-08-09 14:11:29 +02:00
sql_update.h
sql_view.cc Merge from mysql-5.5-bugfixing to mysql-5.5-runtime 2010-08-18 13:55:37 +02:00
sql_view.h
sql_yacc.yy Merge from mysql-5.5-bugfixing to mysql-5.5-runtime 2010-08-18 13:55:37 +02:00
strfunc.cc
strfunc.h
structs.h
sys_vars.cc Bug#55001 Change in behavior: thread_concurrency (docs, 2010-08-16 15:05:01 +02:00
sys_vars.h merge 2010-08-05 15:34:19 +03:00
sys_vars_shared.h
table.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
table.h Merge from mysql-5.5-bugfixing to mysql-5.5-runtime 2010-08-18 13:55:37 +02:00
thr_malloc.cc
thr_malloc.h
transaction.cc
transaction.h
tzfile.h
tztime.cc
tztime.h
udf_example.c Auto-merge from mysql-trunk-merge. 2010-07-29 16:32:11 +04:00
udf_example.def
uniques.cc
unireg.cc
unireg.h