summaryrefslogtreecommitdiff
path: root/sql/log.h
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2007-04-27 14:13:34 -0700
committerunknown <serg@sergbook.mysql.com>2007-04-27 14:13:34 -0700
commit4cd780d22b0c2a8526683522f1ccb8d1d762bd68 (patch)
tree752735f47c302136a2dd7640c00b74be9e07b89e /sql/log.h
parent6cc76eb61cb190d5ec410ffe3bd2e064e7951e44 (diff)
downloadmariadb-git-4cd780d22b0c2a8526683522f1ccb8d1d762bd68.tar.gz
mysql-test/mysql-test-run.pl
provide the writable datadir for mysqld --help (for lower_case test) sql/log.h, sql/mysqld.cc make default binlog_format value to be 0 (for a hack of using GET_STR for enum to continue to work) mysql-test/mysql-test-run.pl: provide the writable datadir for mysqld --help (for lower_case test) sql/log.h: make default binlog_format value to be 0 (for a hack of using GET_STR for enum to continue to work) sql/mysqld.cc: make default binlog_format value to be 0 (for a hack of using GET_STR for enum to continue to work)
Diffstat (limited to 'sql/log.h')
-rw-r--r--sql/log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/log.h b/sql/log.h
index ed0c3557d08..25bcbd6c62d 100644
--- a/sql/log.h
+++ b/sql/log.h
@@ -603,13 +603,13 @@ public:
};
enum enum_binlog_format {
- BINLOG_FORMAT_STMT= 0, // statement-based
- BINLOG_FORMAT_ROW= 1, // row_based
/*
statement-based except for cases where only row-based can work (UUID()
etc):
*/
- BINLOG_FORMAT_MIXED= 2,
+ BINLOG_FORMAT_MIXED= 0,
+ BINLOG_FORMAT_STMT= 1, // statement-based
+ BINLOG_FORMAT_ROW= 2, // row_based
/*
This value is last, after the end of binlog_format_typelib: it has no
corresponding cell in this typelib. We use this value to be able to know if