mariadb/sql
Alexander Barkov e013bf9f0e The bug
MDEV-4489 "Replication of big5, cp932, gbk, sjis strings makes wrong values on slave"
has been fixed.

Problem:
String constants of some Asian charsets (big5,cp932,gbk,sjis)
can have backslash '\' (0x5C) in the second byte of multi-byte characters.
Replicating of such constants using the standard '\'-escaping is dangerous.
Therefore, constants of these charsets are replicated using hex notation:
INSERT INTO t1 (a) VALUES (0x815C);

However, 0xHHHH constants do not work well in some cases,
because they can behave as strings and as numbers, depending on context
(for example, depending on the data type of the column in an INSERT statement).

This SQL script was not replicated correctly with statement-based replication:

SET NAMES gbk;
PREPARE STMT FROM 'INSERT INTO t1 (a) VALUES (?)';
SET @a = '1';
EXECUTE STMT USING @a;

The INSERT statement was replicated as:
INSERT INTO t1 (a) VALUES (0x31);

'1' was correctly converted to the number 1 on master.
But the 0x31 constant was treated as number 49 on slave.

Fix:

1. Binary log now uses X'HHHH' instead of 0xHHHH constants.
2. The X'HHHH' constants now work always as strings, in all contexts.
This is the SQL standard compliant behaviour.

After the fix, the above statement is replicated as:
INSERT INTO t1 (a) VALUES (X'31');
X'31' is treated as string '1' on slave, and is correctly converted to 1.


modified:
  @ mysql-test/r/ctype_cp932_binlog_stm.result
  @ mysql-test/r/select.result
  @ mysql-test/r/select_jcl6.result
  @ mysql-test/r/select_pkeycache.result
  @ mysql-test/r/user_var-binlog.result
  @ mysql-test/r/varbinary.result
  @ mysql-test/suite/binlog/r/binlog_stm_ctype_ucs.result
  @ mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result
  @ mysql-test/suite/rpl/r/rpl_charset_sjis.result
  @ mysql-test/suite/rpl/r/rpl_mdev382.result
  @ mysql-test/suite/rpl/t/rpl_charset_sjis.test
  @ mysql-test/t/ctype_cp932_binlog_stm.test
  @ mysql-test/t/select.test
  @ mysql-test/t/varbinary.test
    Adding and updating tests

  @ sql/item.cc
  @ sql/item.h
  @ sql/sql_yacc.yy
  @ sql/sql_lex.cc
    Splitting the implementations of X'HH' and 0xHH constants into two
    separate classes. Fixing the parser to distinguish the two syntaxes.

  @ sql/log_event.cc
    Using X'HH' instead of 0xHH for binary logging for string constants
    of the "dangerous" charsets.

  @ sql/sql_string.h
    Adding a helped method String::append_hex().
2013-05-08 13:36:17 +04:00
..
examples merge with 5.3 2011-10-19 21:45:18 +02:00
share Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
add_errmsg
authors.h 5.3 merge 2012-01-13 15:50:02 +01:00
client_settings.h Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
CMakeLists.txt mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
contributors.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
create_options.cc 5.3 merge 2012-10-18 23:33:06 +02:00
create_options.h merge with 5.3 2011-10-19 21:45:18 +02:00
custom_conf.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
datadict.cc
datadict.h lots of post-merge changes 2011-04-25 17:22:25 +02:00
db.opt Bug#16062056 REMOVE THE "DUMMY.BAK" FILE FROM THE TEST DATABASE, AND ADD DB.OPT 2013-02-25 10:42:40 +01:00
debug_sync.cc debug_sync is now a service, available to dynamically loaded plugins. 2012-03-28 19:26:00 +02:00
debug_sync.h debug_sync is now a service, available to dynamically loaded plugins. 2012-03-28 19:26:00 +02:00
derror.cc Better error message when using --language or --log-bin 2012-09-07 17:05:17 +03:00
derror.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
des_key_file.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
des_key_file.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
discover.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
discover.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
event_data_objects.cc 5.3 merge 2012-01-13 15:50:02 +01:00
event_data_objects.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
event_db_repository.cc MDEV-4332 Increase username length from 16 characters 2013-04-18 22:17:29 +02:00
event_db_repository.h 5.3 merge 2012-01-13 15:50:02 +01:00
event_parse_data.cc 5.3 merge 2012-01-13 15:50:02 +01:00
event_parse_data.h 5.3 merge 2012-01-13 15:50:02 +01:00
event_queue.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
event_queue.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
event_scheduler.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
event_scheduler.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
events.cc 5.3 merge 2012-01-13 15:50:02 +01:00
events.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
field.cc 5.2 -> 5.3 2013-02-28 21:48:47 +01:00
field.h 5.3->5.5 merge 2013-03-10 12:46:56 +01:00
field_conv.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
filesort.cc 5.3 merge 2013-03-27 10:03:28 +01:00
filesort.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
frm_crypt.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
frm_crypt.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
gcalc_slicescan.cc bug #977021 ST_BUFFER fails with the negative D. 2012-04-29 18:08:11 +05:00
gcalc_slicescan.h bug #901655 ST_BUFFER asserts with a coplicated shape. 2011-12-08 16:29:45 +04:00
gcalc_tools.cc 5.3 merge 2012-01-13 15:50:02 +01:00
gcalc_tools.h 5.3->5.5 merge 2011-11-27 17:46:20 +01:00
gen_lex_hash.cc Merge MySQL 5.1.66 -> MariaDB 5.1.65 2012-11-06 11:52:55 +02:00
gstream.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
gstream.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
ha_ndbcluster.cc 5.3 merge 2012-01-13 15:50:02 +01:00
ha_ndbcluster.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
ha_ndbcluster_binlog.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
ha_ndbcluster_binlog.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
ha_ndbcluster_cond.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
ha_ndbcluster_cond.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
ha_ndbcluster_tables.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
ha_partition.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
ha_partition.h mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
handler.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
handler.h MDEV-260 auditing table accesses 2013-04-19 12:50:16 +02:00
hash_filo.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
hash_filo.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
hostname.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
hostname.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
init.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
init.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
innodb_priv.h extend check_global_access() to avoid my_error when it's not needed 2013-03-19 15:25:58 +01:00
item.cc The bug 2013-05-08 13:36:17 +04:00
item.h The bug 2013-05-08 13:36:17 +04:00
item_buff.cc 5.3 merge 2012-01-13 15:50:02 +01:00
item_cmpfunc.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
item_cmpfunc.h 5.3->5.5 merge 2013-03-10 12:46:56 +01:00
item_create.cc 5.3 merge 2013-03-27 10:03:28 +01:00
item_create.h 5.3 merge 2012-01-13 15:50:02 +01:00
item_func.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
item_func.h mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
item_geofunc.cc 5.3 merge 2013-03-27 10:03:28 +01:00
item_geofunc.h 5.3 merge 2013-01-15 19:07:46 +01:00
item_row.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
item_row.h 5.3 merge 2012-01-13 15:50:02 +01:00
item_strfunc.cc MDEV-4332 Increase username length from 16 characters 2013-04-18 22:17:29 +02:00
item_strfunc.h MDEV-4332 Increase username length from 16 characters 2013-04-18 22:17:29 +02:00
item_subselect.cc Fix for MDEV-4144 2013-03-29 17:53:21 +02:00
item_subselect.h MDEV-4284 Assertion `cmp_items[(uint)cmp_type]' fails in sql/item_cmpfunc.cc 2013-03-17 11:41:25 +01:00
item_sum.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
item_sum.h Fixed bug mdev-4311 (bug #68749). 2013-03-27 19:17:32 -07:00
item_timefunc.cc 5.3 merge 2013-03-27 10:03:28 +01:00
item_timefunc.h MDEV-4265 5.5 is slower than 5.3 because of many str_to_datetime calls 2013-03-13 22:33:52 +01:00
item_xmlfunc.cc 5.2 -> 5.3 2013-02-28 21:48:47 +01:00
item_xmlfunc.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
key.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
key.h mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
keycaches.cc mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
keycaches.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
lex.h Added function last_value() which returns the last value but evalutes all arguments as a side effect. 2012-09-05 18:23:51 +03:00
lex_symbol.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
lock.cc MDEV-254: Server hang with FLUSH TABLES WITH READ LOCK AND DISABLE CHECKPOINT 2012-05-08 14:27:44 +02:00
lock.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
log.cc strmake_buf(X,Y) helper, equivalent to strmake(X,Y,sizeof(X)-1) 2013-04-17 19:42:34 +02:00
log.h 5.3->5.5 merge 2012-11-22 10:19:31 +01:00
log_event.cc The bug 2013-05-08 13:36:17 +04:00
log_event.h mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
log_event_old.cc mysql-5.5.29 merge 2013-01-15 19:13:32 +01:00
log_event_old.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
log_slow.h lots of post-merge changes 2011-04-25 17:22:25 +02:00
main.cc Updated/added copyright headers 2011-06-30 17:46:53 +02:00
mdl.cc Fixed some race conditons and bugs related to killed queries 2013-01-11 00:22:14 +02:00
mdl.h merge with mysql-5.5.30 minus few incorrect or not applicable changesets 2013-02-28 18:42:49 +01:00
mem_root_array.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
message.h 5.3 merge 2012-01-13 15:50:02 +01:00
message.mc
message.rc
mf_iocache.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
MSG00001.bin
multi_range_read.cc 5.3 merge 2013-04-12 01:01:18 +02:00
multi_range_read.h fix the include guards and add missing gplv2 headers 2012-02-17 12:19:38 +01:00
my_decimal.cc 5.3 merge 2012-01-13 15:50:02 +01:00
my_decimal.h merge 2012-04-05 23:07:18 +02:00
mysql_install_db.cc strmake_buf(X,Y) helper, equivalent to strmake(X,Y,sizeof(X)-1) 2013-04-17 19:42:34 +02:00
mysql_upgrade_service.cc - Properly terminate options array with all-zero entry. 2011-05-20 01:38:42 +02:00
mysqld.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
mysqld.h BUG#16196591 - CLIENTS CANNOT CONNECT TO MYSQL 2013-02-05 11:06:38 +05:30
mysqld_suffix.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
net_serv.cc Update copyright notices 2012-02-28 18:53:05 +01:00
nt_servc.cc Bug#11754011: 45546: START WINDOWS SERVICE, THEN EXECUTE WHAT IS NEEDED. 2011-12-13 17:44:19 +02:00
nt_servc.h Bug#11754011: 45546: START WINDOWS SERVICE, THEN EXECUTE WHAT IS NEEDED. 2011-12-13 17:44:19 +02:00
opt_index_cond_pushdown.cc 5.3 merge 2012-02-21 20:51:56 +01:00
opt_range.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
opt_range.h Merge 5.3 -> 5.5 2013-04-03 18:51:29 +04:00
opt_range_mrr.cc MDEV-3934 Assertion `((keypart_map+1) & keypart_map) == 0' failed in _mi_pack_key with an index on a POINT column 2013-01-20 14:06:33 +01:00
opt_subselect.cc Merge 5.3 -> 5.5 2013-04-03 18:51:29 +04:00
opt_subselect.h 5.3 merge 2012-05-04 07:16:38 +02:00
opt_sum.cc MDEV-4243 Warnings/errors while compiling with clang 2013-03-28 20:04:14 +01:00
opt_table_elimination.cc fix the include guards and add missing gplv2 headers 2012-02-17 12:19:38 +01:00
parse_file.cc 5.3 merge 2012-05-04 07:16:38 +02:00
parse_file.h 5.3 merge 2012-05-04 07:16:38 +02:00
partition_element.h mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
partition_info.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
partition_info.h Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING 2013-01-30 17:51:52 +01:00
password.c Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
plistsort.c Precise GIS functions added. 2011-05-04 23:20:17 +05:00
procedure.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
procedure.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
protocol.cc Bug#14466617 - INVALID WRITES AND/OR CRASH WITH USER 2012-11-07 19:08:33 +05:30
protocol.h Merge with 5.2. 2011-12-11 11:34:44 +02:00
records.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
records.h 5.3->5.5 merge 2011-11-22 18:04:38 +01:00
repl_failsafe.cc Merge from 5.3 2012-08-24 15:29:01 +02:00
repl_failsafe.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
replication.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
rpl_constants.h Updated/added copyright headers 2011-06-30 17:37:13 +02:00
rpl_filter.cc Make Replication filter settings dynamic. 2012-03-19 15:00:23 -07:00
rpl_filter.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
rpl_handler.cc mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
rpl_handler.h Updated/added copyright headers 2012-02-16 10:48:16 +01:00
rpl_injector.cc mysql-5.5.22 merge 2012-03-28 01:04:46 +02:00
rpl_injector.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
rpl_mi.cc mysql-5.5.22 merge 2012-03-28 01:04:46 +02:00
rpl_mi.h MDEV-4332 Increase username length from 16 characters 2013-04-18 22:17:29 +02:00
rpl_record.cc Split ER_NO_SUCH_TABLE into ER_NO_SUCH_TABLE and ER_NO_SUCH_TABLE_IN_ENGINE to be able to distingus if a .frm file is missing or if the table is missing in the engine. 2012-08-28 19:39:49 +03:00
rpl_record.h Merge 5.3->5.5 2012-03-17 01:26:58 -07:00
rpl_record_old.cc Merge 5.3->5.5 2012-03-17 01:26:58 -07:00
rpl_record_old.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
rpl_reporting.cc Updated/added copyright headers 2011-06-30 17:46:53 +02:00
rpl_reporting.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
rpl_rli.cc strmake_buf(X,Y) helper, equivalent to strmake(X,Y,sizeof(X)-1) 2013-04-17 19:42:34 +02:00
rpl_rli.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
rpl_tblmap.cc mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
rpl_tblmap.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
rpl_utility.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
rpl_utility.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
scheduler.cc MDEV-3945 - do not hold LOCK_thread_count when freeing THD. 2012-12-21 00:12:37 +01:00
scheduler.h MDEV-531 : Warning: Forcing close of thread ... in rpl_binlog_index 2012-11-02 10:43:52 +01:00
set_var.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
set_var.h mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sha2.cc Updated/added copyright headers 2011-06-30 17:46:53 +02:00
signal_handler.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
slave.cc strmake_buf(X,Y) helper, equivalent to strmake(X,Y,sizeof(X)-1) 2013-04-17 19:42:34 +02:00
slave.h Merge MWL#234: @@skip_replication feature to MariaDB 5.5. 2012-03-01 12:41:49 +01:00
sp.cc MDEV-4332 Increase username length from 16 characters 2013-04-18 22:17:29 +02:00
sp.h Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
sp_cache.cc mysql-5.5.22 merge 2012-03-28 01:04:46 +02:00
sp_cache.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sp_head.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sp_head.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sp_pcontext.cc Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sp_pcontext.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sp_rcontext.cc mysql-5.5.29 merge 2013-01-15 19:13:32 +01:00
sp_rcontext.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
spatial.cc 5.3 merge 2013-03-27 10:03:28 +01:00
spatial.h 5.3 merge 2013-03-27 10:03:28 +01:00
sql_acl.cc MDEV-4332 Increase username length from 16 characters 2013-04-18 22:17:29 +02:00
sql_acl.h Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
sql_admin.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_admin.h Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING 2013-01-30 17:51:52 +01:00
sql_alter.cc mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
sql_alter.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_analyse.cc 5.3 merge 2012-01-13 15:50:02 +01:00
sql_analyse.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_array.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_audit.cc MDEV-260 auditing table accesses 2013-04-19 12:50:16 +02:00
sql_audit.h MDEV-260 auditing table accesses 2013-04-19 12:50:16 +02:00
sql_base.cc strmake_buf(X,Y) helper, equivalent to strmake(X,Y,sizeof(X)-1) 2013-04-17 19:42:34 +02:00
sql_base.h Automatic merge 2013-03-01 18:09:06 +02:00
sql_binlog.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_binlog.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_bitmap.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_builtin.cc.in mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
sql_cache.cc MDEV-249 QUERY CACHE INFORMATION 2013-03-20 20:56:14 +01:00
sql_cache.h MDEV-249 QUERY CACHE INFORMATION 2013-03-20 20:56:14 +01:00
sql_callback.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
sql_class.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_class.h 5.3->5.5 merge 2013-02-28 22:47:29 +01:00
sql_client.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_connect.cc strmake_buf(X,Y) helper, equivalent to strmake(X,Y,sizeof(X)-1) 2013-04-17 19:42:34 +02:00
sql_connect.h Bug#14003080:65104: MAX_USER_CONNECTIONS WITH PROCESSLIST EMPTY 2012-05-28 11:14:43 +05:30
sql_const.h MDEV-4243 : remove several clang warnings. 2013-03-29 14:56:09 +01:00
sql_crypt.cc Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
sql_crypt.h Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
sql_cursor.cc Fix for bug lp:1039277 "Crash in sql_cache.cc". 2012-08-21 08:46:32 +03:00
sql_cursor.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_db.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_db.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
sql_delete.cc MDEV-4465: Reproducible crash (mysqld got signal 11) in multi_delete::initialize_tables... 2013-05-03 00:10:43 +04:00
sql_delete.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_derived.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_derived.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
sql_do.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_do.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_error.cc If one declared several continue handler for the same condition on different level of stored procedures, all of them where executed. 2013-05-06 16:51:41 +03:00
sql_error.h If one declared several continue handler for the same condition on different level of stored procedures, all of them where executed. 2013-05-06 16:51:41 +03:00
sql_expression_cache.cc don't forget to call ha_index_end before destroying the handler 2011-10-19 22:52:43 +02:00
sql_expression_cache.h fix the include guards and add missing gplv2 headers 2012-02-17 12:19:38 +01:00
sql_handler.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_handler.h merge with 5.3 2011-10-19 21:45:18 +02:00
sql_help.cc mysql-5.5.29 merge 2013-01-15 19:13:32 +01:00
sql_help.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_hset.h
sql_insert.cc strmake_buf(X,Y) helper, equivalent to strmake(X,Y,sizeof(X)-1) 2013-04-17 19:42:34 +02:00
sql_insert.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_join_cache.cc 5.3->5.5 merge 2013-03-10 12:46:56 +01:00
sql_join_cache.h 5.3 merge 2012-02-21 20:51:56 +01:00
sql_lex.cc The bug 2013-05-08 13:36:17 +04:00
sql_lex.h 5.2 -> 5.3 2013-02-28 21:48:47 +01:00
sql_lifo_buffer.h fix the include guards and add missing gplv2 headers 2012-02-17 12:19:38 +01:00
sql_list.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_list.h 5.3->5.5 merge 2013-02-28 22:47:29 +01:00
sql_load.cc Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_load.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_locale.cc Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_locale.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_manager.cc 5.3.4 merge 2012-02-15 18:08:08 +01:00
sql_manager.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_parse.cc extend check_global_access() to avoid my_error when it's not needed 2013-03-19 15:25:58 +01:00
sql_parse.h extend check_global_access() to avoid my_error when it's not needed 2013-03-19 15:25:58 +01:00
sql_partition.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_partition.h mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_partition_admin.cc Bug#14653504 CRASH WHEN TRUNCATING PARTITIONS FROM A VIEW! 2013-02-26 17:57:05 +05:30
sql_partition_admin.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_plist.h Fix for bug#12695572 - "IMPROVE MDL PERFORMANCE IN PRE-VISTA 2011-11-15 22:00:14 +04:00
sql_plugin.cc MDEV-4307 Support at least 48 utf8 characters in username in server and PAM 2013-03-26 19:17:26 +01:00
sql_plugin.h merge with MySQL 5.5.27 2012-08-09 17:22:00 +02:00
sql_plugin_compat.h strmake_buf(X,Y) helper, equivalent to strmake(X,Y,sizeof(X)-1) 2013-04-17 19:42:34 +02:00
sql_plugin_services.h MDEV-4065 thd_kill_statement service 2013-01-18 19:04:23 +01:00
sql_prepare.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_prepare.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_priv.h 5.3 merge 2013-01-15 19:07:46 +01:00
sql_profile.cc 5.3 merge 2013-01-15 19:07:46 +01:00
sql_profile.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_reload.cc 5.3 merge 2012-05-21 20:54:41 +02:00
sql_reload.h BUG#46166 2010-12-07 16:11:13 +00:00
sql_rename.cc 5.3 merge 2012-01-13 15:50:02 +01:00
sql_rename.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_repl.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_repl.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_select.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_select.h 5.3->5.5 merge 2013-02-28 22:47:29 +01:00
sql_servers.cc Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
sql_servers.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_show.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_show.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_signal.cc mysql-5.5.29 merge 2013-01-15 19:13:32 +01:00
sql_signal.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_sort.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_state.c Fix for MDEV-533: Confusing error code when doing auto-increment insert for out-of-range values 2012-09-18 15:14:19 +03:00
sql_string.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_string.h The bug 2013-05-08 13:36:17 +04:00
sql_table.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_table.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
sql_tablespace.cc Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
sql_tablespace.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_test.cc Fixed some simple warnings on Windows. 2012-04-13 19:44:22 +02:00
sql_test.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
sql_time.cc MDEV-4265 5.5 is slower than 5.3 because of many str_to_datetime calls 2013-03-13 22:33:52 +01:00
sql_time.h 5.3 merge 2012-08-31 14:15:52 +02:00
sql_trigger.cc extend check_global_access() to avoid my_error when it's not needed 2013-03-19 15:25:58 +01:00
sql_trigger.h 5.3 merge 2012-01-13 15:50:02 +01:00
sql_truncate.cc Fixed bug MPDEV-628 / LP:989055 - Querying myisam table metadata may corrupt the table. 2013-03-01 18:01:44 +02:00
sql_truncate.h Bug#49938: Failing assertion: inode or deadlock in fsp/fsp0fsp.c 2010-10-06 11:34:28 -03:00
sql_udf.cc mysql-5.5.22 merge 2012-03-28 01:04:46 +02:00
sql_udf.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
sql_union.cc Fixed some race conditons and bugs related to killed queries 2013-01-11 00:22:14 +02:00
sql_union.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_update.cc 5.3->5.5 merge 2013-02-28 22:47:29 +01:00
sql_update.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
sql_view.cc mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_view.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
sql_yacc.yy The bug 2013-05-08 13:36:17 +04:00
strfunc.cc Bug#15972635: Incorrect results returned in 32 table join with HAVING 2012-12-21 09:53:42 +01:00
strfunc.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
structs.h Merge MWL #247 from mariadb 5.3 -> mariadb 5.5. 2012-03-02 15:03:20 -08:00
sys_vars.cc Increase default value of max_binlog_cache_size and max_binlog_stmt_cache_size to ulonglong_max. 2013-04-12 13:19:00 +03:00
sys_vars.h fix @@external_user variable 2013-03-26 17:57:36 +01:00
sys_vars_shared.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
table.cc complier warnings. hide the redundant condition under #ifdef 2013-04-12 01:05:29 +02:00
table.h Fixed issue with LOCK TABLE + ALTER TABLE ENABLE KEYS + SHOW commands. 2013-03-05 00:53:18 +02:00
thr_malloc.cc 5.3 merge 2012-01-13 15:50:02 +01:00
thr_malloc.h mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
threadpool.h Added copiright, some more comments 2012-02-17 23:27:15 +01:00
threadpool_common.cc MDEV-3945 - do not hold LOCK_thread_count when freeing THD. 2012-12-21 00:12:37 +01:00
threadpool_unix.cc MDEV-4174 - Use kqueue for threadpool implementation on more BSD variants than just FreeBSD 2013-02-19 23:46:52 +01:00
threadpool_win.cc MDEV-531 : Warning: Forcing close of thread ... in rpl_binlog_index 2012-11-02 10:43:52 +01:00
transaction.cc This patch fixes bug#14729757 - MY_HASH_SEARCH(&XID_CACHE, 2012-12-06 15:59:15 +06:00
transaction.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
tzfile.h Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
tztime.cc strmake_buf(X,Y) helper, equivalent to strmake(X,Y,sizeof(X)-1) 2013-04-17 19:42:34 +02:00
tztime.h Merge with 5.2. 2011-12-11 11:34:44 +02:00
udf_example.c 5.3 merge 2012-01-13 15:50:02 +01:00
udf_example.def
uniques.cc Merge 5.3->5.5 2013-01-23 15:18:05 -08:00
unireg.cc Merge 5.3->5.5. 2012-06-24 09:10:11 -07:00
unireg.h fix compile error, when building with oqgraph 2012-06-25 18:17:24 +02:00
winservice.c Merge 5.3->5.5 2012-03-17 01:26:58 -07:00
winservice.h fix the include guards and add missing gplv2 headers 2012-02-17 12:19:38 +01:00