Skip to content

Commit 71b4f2a

Browse files
author
sayantan.dutta@oracle.com
committed
Bug #16029012 - MTR SHOULD USE INNODB AS THE DEFAULT STORAGE ENGINE FOR EMBEDDED SERVERS
1 parent 69cf84c commit 71b4f2a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mysql-test/lib/mtr_cases.pm

+8
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,14 @@ sub collect_one_test_case {
10711071
$tinfo->{'comment'}= "Not run for embedded server";
10721072
return $tinfo;
10731073
}
1074+
#Setting the default storage engine to InnoDB for embedded tests as the default
1075+
#storage engine for mysqld in embedded mode is still MyISAM.
1076+
#To be removed after completion of WL #6911.
1077+
if ( !$tinfo->{'myisam_test'} && !defined $default_storage_engine)
1078+
{
1079+
push(@{$tinfo->{'master_opt'}}, "--default-storage-engine=InnoDB");
1080+
push(@{$tinfo->{'master_opt'}}, "--default-tmp-storage-engine=InnoDB");
1081+
}
10741082
}
10751083

10761084
if ( $tinfo->{'need_ssl'} )

0 commit comments

Comments
 (0)