mariadb/storage
Michael Widenius 6f06cef02b Fixed bug lp:917689 "Archive table corruption crashing MariaDB signal 11"
Added 'from_end' as extra parameter to Field::unpack() to detect wrong from data.
Change ha_archive::unpack_row() to detect wrong field lengths.
Replication code changed to detect wrong field information in events.


mysql-test/r/archive.result:
  dded test case for lp:917689
sql/field.cc:
  Added 'from_end' as extra parameter to Field::unpack() to detect wrong from data.
  Removed not used 'unpack_key' functions.
sql/field.h:
  Added 'from_end' as extra parameter to Field::unpack() to detect wrong from data.
  Removed not used 'unpack_key' functions.
  Removed some not needed unpack() functions.
sql/filesort.cc:
  Added buffer end parameter to unpack_addon_fields()
sql/log_event.h:
  Added end of buffer argument to unpack_row()
sql/log_event_old.cc:
  Added end of buffer argument to unpack_row()
sql/log_event_old.h:
  Added end of buffer argument to unpack_row()
sql/records.cc:
  Added buffer end parameter to unpack_addon_fields()
sql/rpl_record.cc:
  Added end of buffer argument to unpack_row()
  Added detection of wrong field information in events
sql/rpl_record.h:
  Added end of buffer argument to unpack_row()
sql/rpl_record_old.cc:
  Added end of buffer argument to unpack_row()
  Added detection of wrong field information in events
sql/rpl_record_old.h:
  Added end of buffer argument to unpack_row()
sql/table.h:
  Added buffer end parameter to unpack()
storage/archive/ha_archive.cc:
  Change ha_archive::unpack_row() to detect wrong field lengths.
  This fixes lp:917689
2012-03-13 16:38:43 +02:00
..
archive Fixed bug lp:917689 "Archive table corruption crashing MariaDB signal 11" 2012-03-13 16:38:43 +02:00
blackhole Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
csv Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
example Fixed buildbot warnings 2011-12-03 20:44:54 +02:00
federated Merge with 5.1 2011-11-30 22:57:18 +02:00
federatedx
heap Merge with 5.2. 2011-12-11 11:34:44 +02:00
ibmdb2i
innobase Merge with MariaDB 5.2 2012-02-21 01:58:50 +02:00
innodb_plugin Removed const declarations to get rid of compiler warnings. The changes are similar to what is done in innobase in MySQL 5.5 2012-02-24 12:34:47 +02:00
maria Automatic merge 2012-03-05 22:00:24 +02:00
myisam Fixed lp:925377 "Querying myisam table metadata while 'alter table..enable keys' is running may corrupt the table" 2012-02-28 23:18:52 +02:00
myisammrg Merge with 5.2. 2011-12-11 11:34:44 +02:00
ndb Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
oqgraph LPBUG#906638 : Fixes to build oqgraph with boost 1.48 2011-12-22 15:50:33 +01:00
pbxt Merge with 5.2 2011-12-14 20:36:51 +02:00
sphinx
xtradb Merge with MariaDB 5.2 2012-02-21 01:58:50 +02:00
Makefile.am
mysql_storage_engine.cmake on windows: don't link all plugins with mysqld, only do it for storage engines. 2011-12-29 22:52:13 +01:00