~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to runall.pl

allow 'default' binlog format

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
 
240
240
        my ($foo, $master_version) = $master_dbh->selectrow_array("SHOW VARIABLES LIKE 'version'");
241
241
 
242
 
        if ($master_version !~ m{^5\.0}sio) {
 
242
        if (($master_version !~ m{^5\.0}sio) && ($rpl_mode ne 'default')) {
243
243
                $master_dbh->do("SET GLOBAL BINLOG_FORMAT = '$rpl_mode'");
244
244
                $slave_dbh->do("SET GLOBAL BINLOG_FORMAT = '$rpl_mode'");
245
245
        }