mirror of
https://github.com/MariaDB/server.git
synced 2025-08-23 03:54:27 +03:00
This includes fixing all utilities to not have any memory leaks, as safemalloc warnings stopped tests from passing on MacOSX. - Ensure that all clients takes character-set-dir, as the libmysqlclient library will use it. - mysql-test-run now passes character-set-dir to all external clients. - Changed dynstr_free() so that it can be called twice (made freeing code easier) - Changed rpl_global_gtid_slave_state to be allocated dynamicly as it includes a mutex that needs to be initizlied/destroyed before my_end() is called. - Removed rpl_slave_state::init() and rpl_slave_stage::deinit() as their job are better handling by constructor and delete. - Print alias instead of table_name in check_duplicate_key as table_name may have been converted to lower case. Other things: - Fixed a case in time_to_datetime_with_warn() where we where using && instead of & in tests
19 lines
514 B
Plaintext
19 lines
514 B
Plaintext
#
|
|
# Bug #56947 valgrind reports a memory leak in innodb-plugin.innodb-index
|
|
#
|
|
-- source include/have_innodb.inc
|
|
-- source include/have_debug.inc
|
|
|
|
SET GLOBAL innodb_file_per_table=0;
|
|
create table bug56947(a int not null) engine = innodb;
|
|
|
|
SET DEBUG_DBUG='+d,ib_rebuild_cannot_rename';
|
|
--replace_regex /"[^"]*"/"xxx"/
|
|
--error ER_GET_ERRNO
|
|
alter table bug56947 add unique index (a);
|
|
SET DEBUG_DBUG='-d,ib_rebuild_cannot_rename';
|
|
check table bug56947;
|
|
|
|
drop table bug56947;
|
|
SET @@global.innodb_file_per_table=DEFAULT;
|