[MDEV-14245] tokudb_alter_table.drop_add_pk_part_104 leaves a temporary file behind Created: 2017-11-01  Updated: 2018-01-24  Resolved: 2018-01-24

Status: Closed
Project: MariaDB Server
Component/s: Partitioning, Storage Engine - TokuDB, Tests
Affects Version/s: 10.0
Fix Version/s: 10.0.34

Type: Bug Priority: Trivial
Reporter: Elena Stepanova Assignee: Michael Widenius
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-14029 Server does not remove #sql*.frm file... Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-quantal-amd64/builds/7914/steps/test/logs/stdio

tokudb_alter_table.drop_add_pk_part_104  w2 [ pass ]      6
 
MTR's internal check of the test case 'tokudb_alter_table.drop_add_pk_part_104' failed.
This means that the test case does not preserve the state that existed
before the test case was executed.  Most likely the test case did not
do a proper clean-up. It could also be caused by the previous test run
by this thread, if the server wasn't restarted.
This is the diff of the states of the servers before and after the
test case was executed:
mysqltest: Logging to '/usr/local/mariadb-10.0.34-linux-x86_64/mysql-test/var/2/tmp/check-mysqld_1.log'.
mysqltest: Results saved in '/usr/local/mariadb-10.0.34-linux-x86_64/mysql-test/var/2/tmp/check-mysqld_1.result'.
mysqltest: Connecting to server localhost:16020 (socket /usr/local/mariadb-10.0.34-linux-x86_64/mysql-test/var/tmp/2/mysqld.1.sock) as 'root', connection 'default', attempt 0 ...
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/check-testcase.test' ...
mysqltest: ... Done processing test commands.
--- /usr/local/mariadb-10.0.34-linux-x86_64/mysql-test/var/2/tmp/check-mysqld_1.result	2017-11-01 19:40:20.914090699 +0200
+++ /usr/local/mariadb-10.0.34-linux-x86_64/mysql-test/var/2/tmp/check-mysqld_1.reject	2017-11-01 19:40:21.042090692 +0200
@@ -821,3 +821,4 @@
 TokuDB_fractal_tree_block_map	0.0	ACTIVE	INFORMATION SCHEMA	100034.0	ha_tokudb.so	1.8	Percona	Percona TokuDB Storage Engine with Fractal Tree(tm) Technology	GPL	ON	Stable	NULL
 TokuDB_background_job_status	0.0	ACTIVE	INFORMATION SCHEMA	100034.0	ha_tokudb.so	1.8	Percona	Percona TokuDB Storage Engine with Fractal Tree(tm) Technology	GPL	ON	Stable	NULL
 VARIABLE_NAME	VARIABLE_VALUE
+#sql-5e28_7.par
 
mysqltest: Result length mismatch
 
not ok

Not reproducible on 10.1, 10.2.



 Comments   
Comment by Michael Widenius [ 2018-01-24 ]

Clean up of partitioning tables where missing in 10.0 for ALTER TABLE

Fixed by copying a few lines from 10.1

Comment by Michael Widenius [ 2018-01-24 ]

Pushed into 10.0 tree

Generated at Thu Feb 08 08:12:03 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.