diff options
-rw-r--r-- | mysql-test/include/ipv6_clients.inc | 2 | ||||
-rw-r--r-- | mysql-test/include/mysqladmin_shutdown.inc | 2 | ||||
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 4 | ||||
-rw-r--r-- | mysql-test/suite/maria/r/compat_aliases.result | 6 | ||||
-rw-r--r-- | mysql-test/suite/maria/r/maria-recovery2.result | 3 | ||||
-rw-r--r-- | mysql-test/suite/maria/r/maria3.result | 3 | ||||
-rw-r--r-- | mysql-test/suite/maria/suite.pm | 2 | ||||
-rw-r--r-- | mysql-test/suite/maria/t/maria3.test | 5 | ||||
-rw-r--r-- | sql/handler.cc | 2 |
9 files changed, 17 insertions, 12 deletions
diff --git a/mysql-test/include/ipv6_clients.inc b/mysql-test/include/ipv6_clients.inc index 3f2b35d811a..e723e28dbbd 100644 --- a/mysql-test/include/ipv6_clients.inc +++ b/mysql-test/include/ipv6_clients.inc @@ -1,4 +1,4 @@ ---exec $MYSQLADMIN --no-defaults --default-character-set=latin1 -h $IPv6 -P $MASTER_MYPORT -u root ping +--exec $MYSQLADMIN --default-character-set=latin1 -h $IPv6 -P $MASTER_MYPORT -u root ping --disable_result_log --exec $MYSQL_CHECK -h $IPv6 -P $MASTER_MYPORT -u root test --exec $MYSQL_DUMP -h $IPv6 -P $MASTER_MYPORT -u root test diff --git a/mysql-test/include/mysqladmin_shutdown.inc b/mysql-test/include/mysqladmin_shutdown.inc index 16b33c2baf8..be6153a60f9 100644 --- a/mysql-test/include/mysqladmin_shutdown.inc +++ b/mysql-test/include/mysqladmin_shutdown.inc @@ -1,6 +1,6 @@ # Initiates a clean shutdown of the server and waits for its completion ---exec $MYSQLADMIN --no-defaults -S $MASTER_MYSOCK -P $MASTER_MYPORT -u root --password= shutdown 2>&1; +--exec $MYSQLADMIN -S $MASTER_MYSOCK -P $MASTER_MYPORT -u root --password= shutdown 2>&1; # On Windows mysqladmin does not wait for shutdown to be finished, # so we have to monitor this with our connection: diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index facc97c5aaf..8175218ae8e 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -2225,8 +2225,8 @@ sub mysqld_client_arguments () { sub have_maria_support () { - my $maria_var= $mysqld_variables{'aria'}; - return defined $maria_var and $maria_var eq 'TRUE'; + my $maria_var= $mysqld_variables{'aria-recover'}; + return defined $maria_var; } # diff --git a/mysql-test/suite/maria/r/compat_aliases.result b/mysql-test/suite/maria/r/compat_aliases.result index 45bccc04e6e..f58ab668c9b 100644 --- a/mysql-test/suite/maria/r/compat_aliases.result +++ b/mysql-test/suite/maria/r/compat_aliases.result @@ -1,7 +1,7 @@ select * from information_schema.plugins where plugin_name like '%aria'; -PLUGIN_NAME PLUGIN_VERSION PLUGIN_STATUS PLUGIN_TYPE PLUGIN_TYPE_VERSION PLUGIN_LIBRARY PLUGIN_LIBRARY_VERSION PLUGIN_AUTHOR PLUGIN_DESCRIPTION PLUGIN_LICENSE PLUGIN_MATURITY PLUGIN_AUTH_VERSION -Maria 1.5 ACTIVE DAEMON 50507.0 NULL NULL Monty Program Ab Compatibility aliases for the Aria engine GPL Gamma 1.5 -Aria 1.5 ACTIVE STORAGE ENGINE 50507.0 NULL NULL Monty Program Ab Crash-safe tables with MyISAM heritage GPL Gamma 1.5 +PLUGIN_NAME PLUGIN_VERSION PLUGIN_STATUS PLUGIN_TYPE PLUGIN_TYPE_VERSION PLUGIN_LIBRARY PLUGIN_LIBRARY_VERSION PLUGIN_AUTHOR PLUGIN_DESCRIPTION PLUGIN_LICENSE LOAD_OPTION PLUGIN_MATURITY PLUGIN_AUTH_VERSION +Maria 1.5 ACTIVE DAEMON 50515.0 NULL NULL Monty Program Ab Compatibility aliases for the Aria engine GPL FORCE Gamma 1.5 +Aria 1.5 ACTIVE STORAGE ENGINE 50515.0 NULL NULL Monty Program Ab Crash-safe tables with MyISAM heritage GPL FORCE Gamma 1.5 select maria_vars.variable_name, aria_vars.variable_name from information_schema.session_variables as maria_vars left join information_schema.session_variables as aria_vars diff --git a/mysql-test/suite/maria/r/maria-recovery2.result b/mysql-test/suite/maria/r/maria-recovery2.result index 3ac14085624..1d1ede3001e 100644 --- a/mysql-test/suite/maria/r/maria-recovery2.result +++ b/mysql-test/suite/maria/r/maria-recovery2.result @@ -84,11 +84,10 @@ Table Op Msg_type Msg_text mysqltest.t1 check status OK * testing that checksum after recovery is as expected Checksum-check -failure +ok use mysqltest; select * from t1; a -1 3 drop table t1; * TEST of recovery when crash before bulk-insert-with-repair is committed diff --git a/mysql-test/suite/maria/r/maria3.result b/mysql-test/suite/maria/r/maria3.result index a05efb1a1f2..002c6747c51 100644 --- a/mysql-test/suite/maria/r/maria3.result +++ b/mysql-test/suite/maria/r/maria3.result @@ -619,3 +619,6 @@ ERROR 23000: Duplicate entry '2' for key 'a' insert into t1 values(3); insert into t2 values(3); drop table t1, t2; +create table t1 (a int) engine=aria; +lock table t1 write; +drop table t1; diff --git a/mysql-test/suite/maria/suite.pm b/mysql-test/suite/maria/suite.pm index e6efcdca829..c8ef6d8af72 100644 --- a/mysql-test/suite/maria/suite.pm +++ b/mysql-test/suite/maria/suite.pm @@ -2,7 +2,7 @@ package My::Suite::Maria; @ISA = qw(My::Suite); -return "Need Aria engine" unless $::mysqld_variables{'aria'} eq "ON"; +return "Need Aria engine" unless defined $::mysqld_variables{'aria-recover'}; bless { }; diff --git a/mysql-test/suite/maria/t/maria3.test b/mysql-test/suite/maria/t/maria3.test index 5579afe11e3..822beea4c5a 100644 --- a/mysql-test/suite/maria/t/maria3.test +++ b/mysql-test/suite/maria/t/maria3.test @@ -191,7 +191,6 @@ drop table t1; CREATE TABLE t1 (a int, b int, v varchar(60000)) checksum=1 engine=aria; insert into t1 values (1,1,"aaa"),(1,2,null); checksum table t1; -lock table t1 write; insert into t1 values (1,3,repeat('c',30000)),(4,4,repeat('a',30000)); update t1 set v="row5" where b=4; delete from t1 where b=3; @@ -522,6 +521,10 @@ drop table t1, t2; # End of 5.1 tests +create table t1 (a int) engine=aria; +lock table t1 write; +drop table t1; + --disable_result_log --disable_query_log eval set global storage_engine=$default_engine, diff --git a/sql/handler.cc b/sql/handler.cc index 5b87420134c..8e0812f3528 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -1162,7 +1162,7 @@ int ha_commit_trans(THD *thd, bool all) } #ifdef WITH_ARIA_STORAGE_ENGINE - ha_maria::implicit_commit(thd, TRUE); + ha_maria::implicit_commit(thd, FALSE); #endif if (ha_info) |