mariadb/libmysqld
Mats Kindahl c63df11f37 WL#5151: Conversion between different types when replicating
Row-based replication requires the types of columns on the
master and slave to be approximately the same (some safe
conversions between strings are allowed), but does not
allow safe conversions between fields of similar types such
as TINYINT and INT.

This patch implement type conversions between similar fields
on the master and slave.

The conversions are controlled using a new variable
SLAVE_TYPE_CONVERSIONS of type SET('ALL_LOSSY','ALL_NON_LOSSY').

Non-lossy conversions are any conversions that do not run the
risk of losing any information, while lossy conversions can
potentially truncate the value. The column definitions are
checked to decide if the conversion is acceptable.

If neither conversion is enabled, it is required that the
definitions of the columns are identical on master and slave.

Conversion is done by creating an internal conversion table,
unpacking the master data into it, and then copy the data to
the real table on the slave.
2009-12-14 12:04:55 +01:00
..
examples Bug #43715 Link errors when trying to link mysql_embedded.exe 2009-03-17 23:28:24 +01:00
CMakeLists.txt Bug #47795 CMake, storage engine name different from directory name 2009-10-08 15:19:24 +02:00
copyright Added all changes from old 4.0 version: 2001-04-11 13:04:03 +02:00
emb_qcache.cc Fixed build warning on Windows (emb_qcache.cc) 2008-07-10 14:41:56 -06:00
emb_qcache.h Bug#44521 Prepared Statement: CALL p() - crashes: `! thd->main_da.is_sent' failed et.al. 2009-07-30 00:44:04 +02:00
embedded_priv.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
lib_sql.cc merging 2009-09-29 17:49:36 +05:00
libmysqld.c merge 2009-09-25 14:39:05 +03:00
libmysqld.def Bug#38522: 5 seconds delay when closing application using embedded server 2008-12-04 19:41:53 +01:00
libmysqld.rc query_id and my_xid -> ulonglong 2005-01-27 22:38:56 +01:00
Makefile.am WL#5151: Conversion between different types when replicating 2009-12-14 12:04:55 +01:00
resource.h query_id and my_xid -> ulonglong 2005-01-27 22:38:56 +01:00