Commit 2f0eaa5a authored by unknown's avatar unknown

Merge bk-internal.mysql.com:/home/bk/mysql-5.1-wl2936

into  chilla.local:/home/mydev/mysql-5.1-wl2936-two


mysql-test/mysql-test-run.pl:
  Auto merged
sql/mysqld.cc:
  Auto merged
parents 2f664e46 4cd780d2
...@@ -667,6 +667,7 @@ sub command_line_setup () { ...@@ -667,6 +667,7 @@ sub command_line_setup () {
$glob_mysql_test_dir= `cygpath -m "$glob_mysql_test_dir"`; $glob_mysql_test_dir= `cygpath -m "$glob_mysql_test_dir"`;
chomp($glob_mysql_test_dir); chomp($glob_mysql_test_dir);
} }
$default_vardir= "$glob_mysql_test_dir/var";
# In most cases, the base directory we find everything relative to, # In most cases, the base directory we find everything relative to,
# is the parent directory of the "mysql-test" directory. For source # is the parent directory of the "mysql-test" directory. For source
...@@ -837,7 +838,6 @@ sub command_line_setup () { ...@@ -837,7 +838,6 @@ sub command_line_setup () {
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# Set the "var/" directory, as it is the base for everything else # Set the "var/" directory, as it is the base for everything else
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
$default_vardir= "$glob_mysql_test_dir/var";
if ( ! $opt_vardir ) if ( ! $opt_vardir )
{ {
$opt_vardir= $default_vardir; $opt_vardir= $default_vardir;
...@@ -1361,7 +1361,7 @@ sub collect_mysqld_features () { ...@@ -1361,7 +1361,7 @@ sub collect_mysqld_features () {
# --no-defaults and --skip-grant-tables are to avoid loading # --no-defaults and --skip-grant-tables are to avoid loading
# system-wide configs and plugins # system-wide configs and plugins
# #
my $list= `$exe_mysqld --no-defaults --language=$path_language --skip-grant-tables --verbose --help`; my $list= `$exe_mysqld --no-defaults --datadir=$default_vardir --language=$path_language --skip-grant-tables --verbose --help`;
foreach my $line (split('\n', $list)) foreach my $line (split('\n', $list))
{ {
......
...@@ -603,13 +603,13 @@ class LOGGER ...@@ -603,13 +603,13 @@ class LOGGER
}; };
enum enum_binlog_format { 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() statement-based except for cases where only row-based can work (UUID()
etc): 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 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 corresponding cell in this typelib. We use this value to be able to know if
......
...@@ -405,7 +405,7 @@ my_bool opt_noacl; ...@@ -405,7 +405,7 @@ my_bool opt_noacl;
my_bool sp_automatic_privileges= 1; my_bool sp_automatic_privileges= 1;
ulong opt_binlog_rows_event_max_size; ulong opt_binlog_rows_event_max_size;
const char *binlog_format_names[]= {"STATEMENT", "ROW", "MIXED", NullS}; const char *binlog_format_names[]= {"MIXED", "STATEMENT", "ROW", NullS};
TYPELIB binlog_format_typelib= TYPELIB binlog_format_typelib=
{ array_elements(binlog_format_names) - 1, "", { array_elements(binlog_format_names) - 1, "",
binlog_format_names, NULL }; binlog_format_names, NULL };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment