mariadb/storage
Davi Arnaut 53b8829682 Bug#42733: Type-punning warnings when compiling MySQL --
strict aliasing violations.

One somewhat major source of strict-aliasing violations and
related warnings is the SQL_LIST structure. For example,
consider its member function `link_in_list` which takes
a pointer to pointer of type T (any type) as a pointer to
pointer to unsigned char. Dereferencing this pointer, which
is done to reset the next field, violates strict-aliasing
rules and might cause problems for surrounding code that
uses the next field of the object being added to the list.

The solution is to use templates to parametrize the SQL_LIST
structure in order to deference the pointers with compatible
types. As a side bonus, it becomes possible to remove quite
a few casts related to acessing data members of SQL_LIST.
2010-06-10 17:45:22 -03:00
..
archive Bug#42733: Type-punning warnings when compiling MySQL -- 2010-06-10 17:16:43 -03:00
blackhole Bug #40877: multi statement execution fails in 5.1.30 2009-10-16 13:29:42 +03:00
csv Bug#33717 INSERT...(default) fails for enum. Crashes CSV tables, loads spaces for MyISAM 2010-02-17 16:13:42 +04:00
example Bug #49829 Many "hides virtual function" warnings with 2010-03-14 17:01:45 +01:00
federated Bug #49829 Many "hides virtual function" warnings with 2010-03-14 17:01:45 +01:00
heap Merge from 5.0 2009-09-17 17:25:52 +02:00
ibmdb2i merging with mysql-5.1-bugteam 2009-12-11 17:27:12 +05:30
innobase Merge mysql-5.1-innodb from bk-internal into my local tree 2010-05-20 15:54:03 +03:00
innodb_plugin This is to fix a special case for the fix on bug #53592, where the 2010-05-28 06:17:37 -07:00
myisam Bug#42733: Type-punning warnings when compiling MySQL -- 2010-06-10 17:16:43 -03:00
myisammrg Bug#42733: Type-punning warnings when compiling MySQL -- 2010-06-10 17:45:22 -03:00
ndb Bug #35250: readline check breaks when doing vpath build 2010-03-09 17:51:31 +02:00
Makefile.am Backport WL#3653 to 5.1 to enable bundled innodb plugin. 2009-06-10 10:59:49 +02:00
mysql_storage_engine.cmake Bug #47797 CMake, engine can't specify additional libraries to link with 2009-10-08 14:54:11 +02:00