From e139d971ecbffe00d9a5626fdcd69aa1b9ba0f2c Mon Sep 17 00:00:00 2001 From: Monty Date: Mon, 29 Aug 2016 13:11:34 +0300 Subject: Fixed compiler warning and failing test suite because system dependency --- storage/maria/ma_extra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage') diff --git a/storage/maria/ma_extra.c b/storage/maria/ma_extra.c index 50ad44f09a9..117a302b418 100644 --- a/storage/maria/ma_extra.c +++ b/storage/maria/ma_extra.c @@ -316,10 +316,10 @@ int maria_extra(MARIA_HA *info, enum ha_extra_function function, /* Fall trough */ case HA_EXTRA_PREPARE_FOR_RENAME: { - DBUG_ASSERT(!share->temporary); my_bool do_flush= MY_TEST(function != HA_EXTRA_PREPARE_FOR_DROP); my_bool save_global_changed; enum flush_type type; + DBUG_ASSERT(!share->temporary); /* This share, to have last_version=0, needs to save all its data/index blocks to disk if this is not for a DROP TABLE. Otherwise they would be -- cgit v1.2.1