mariadb/mysql-test/suite/federated
Aleksey Midenkov 160d97a4aa MDEV-18734 ASAN heap-use-after-free upon sorting by blob column from partitioned table
ha_partition stores records in array of m_ordered_rec_buffer and uses
it for prio queue in ordered index scan. When the records are restored
from the array the blob buffers may be already freed or rewritten.

The solution is to take temporary ownership of cached blob buffers via
String::swap(). When the record is restored from m_ordered_rec_buffer
the ownership is returned to table fields.

Cleanups:

init_record_priority_queue(): removed needless !m_ordered_rec_buffer
check as there is same assertion few lines before.

dbug_print_row() for arbitrary row pointer
2021-08-05 23:48:02 +03:00
..
include Merge MySQL 5.1.66 -> MariaDB 5.1.65 2012-11-06 11:52:55 +02:00
assisted_discovery.result Merge 10.1 into 10.2 2017-05-26 22:45:46 +03:00
assisted_discovery.test MDEV-11311 Create federated table does not work as expected. 2017-05-24 11:59:03 +02:00
combinations MDEV-3860 backport --plugin-load-add (and related mysql-test changes) 2012-12-15 18:24:11 +01:00
disabled.def 5.5-merge 2011-07-02 22:08:51 +02:00
error_on_close-8313.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
error_on_close-8313.test MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated.test fix tests for solaris - different errno numbers and/or different errno messages 2014-02-06 16:28:05 +01:00
federated_archive.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated_archive.test Bug #12876932 - INCORRECT SELECT RESULT ON FEDERATED TABLE 2012-07-26 15:09:22 +05:30
federated_bug_13118.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated_bug_13118.test Bug #12876932 - INCORRECT SELECT RESULT ON FEDERATED TABLE 2012-07-26 15:09:22 +05:30
federated_bug_25714.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated_bug_25714.test Bug #12876932 - INCORRECT SELECT RESULT ON FEDERATED TABLE 2012-07-26 15:29:19 +05:30
federated_bug_32426.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated_bug_32426.test Merge MySQL 5.1.66 -> MariaDB 5.1.65 2012-11-06 11:52:55 +02:00
federated_bug_35333.result Post MDEV-11902 Fix test failures in maria and myisam storage engines 2017-03-03 20:12:48 +02:00
federated_bug_35333.test Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
federated_bug_585688.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated_bug_585688.test Merge MySQL 5.1.66 -> MariaDB 5.1.65 2012-11-06 11:52:55 +02:00
federated_debug-master.opt fixes for opensolaris compilation failures 2012-01-05 18:56:31 +01:00
federated_debug.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated_debug.test MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated_innodb.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated_innodb.test Bug #12876932 - INCORRECT SELECT RESULT ON FEDERATED TABLE 2012-07-26 15:09:22 +05:30
federated_maybe_16324629.result bugfix: multi-UPDATE, vcols, const tables 2016-12-12 20:27:38 +01:00
federated_maybe_16324629.test different fix for internal Oracle MySQL bug#16324629 that doesn't crash 2014-02-17 11:09:33 +01:00
federated_partition-slave.opt Applied patch for lp:585688 "maridb crashes in federatedx code" from lp:~atcurtis/maria/federatedx: 2011-02-10 22:40:59 +02:00
federated_partition.result MDEV-18734 ASAN heap-use-after-free upon sorting by blob column from partitioned table 2021-08-05 23:48:02 +03:00
federated_partition.test MDEV-18734 ASAN heap-use-after-free upon sorting by blob column from partitioned table 2021-08-05 23:48:02 +03:00
federated_server.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated_server.test MDEV-6311 Add errors on CREATE SERVER 2014-12-04 10:41:51 +01:00
federated_transactions.result MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
federated_transactions.test Merge MySQL 5.1.66 -> MariaDB 5.1.65 2012-11-06 11:52:55 +02:00
federatedx.result MDEV-17573 Assertion in federatedx on multi-update 2020-12-09 20:15:29 +03:00
federatedx.test MDEV-17573 Assertion in federatedx on multi-update 2020-12-09 20:15:29 +03:00
have_federatedx.inc MDEV-16342 SHOW ENGINES: MyISAM description is useless 2018-06-11 09:57:54 +02:00
have_federatedx.opt 10.0-base merge (roles) 2013-10-29 15:08:44 +01:00
my.cnf overlay support for mysql-test-run and mysqltest 2012-02-23 07:50:11 +01:00
net_thd_crash-12725.result MDEV-12725 select on federated table crashes server 2017-08-08 22:49:09 +02:00
net_thd_crash-12725.test MDEV-12725 select on federated table crashes server 2017-08-08 22:49:09 +02:00
net_thd_crash-12951.result MDEV-14272 Mariadb crashes with signal 11 when using federatedx engine and galera 2017-12-28 02:13:25 +01:00
net_thd_crash-12951.test MDEV-14272 Mariadb crashes with signal 11 when using federatedx engine and galera 2017-12-28 02:13:25 +01:00
suite.pm allow suite.pm to skip combinations that originate from test/include files. 2012-02-07 16:22:36 +01:00