[Groonga-mysql-commit] mroonga/mroonga at 0df3c1c [master] mariadb10.1 test: accept empty string for original default_tmp_storage_engine value

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jun 15 21:25:19 JST 2015


Kouhei Sutou	2015-06-15 21:25:19 +0900 (Mon, 15 Jun 2015)

  New Revision: 0df3c1c0e8d457c030213cfbbcc830f2d0b8cce2
  https://github.com/mroonga/mroonga/commit/0df3c1c0e8d457c030213cfbbcc830f2d0b8cce2

  Message:
    mariadb10.1 test: accept empty string for original default_tmp_storage_engine value

  Modified files:
    mysql-test/mroonga/include/mroonga/have_mroonga.inc

  Modified: mysql-test/mroonga/include/mroonga/have_mroonga.inc (+3 -0)
===================================================================
--- mysql-test/mroonga/include/mroonga/have_mroonga.inc    2015-06-12 09:27:26 +0900 (2ebec2d)
+++ mysql-test/mroonga/include/mroonga/have_mroonga.inc    2015-06-15 21:25:19 +0900 (cd17ade)
@@ -38,6 +38,9 @@ if (!$have_default_storage_engine_variable) {
 let have_default_tmp_storage_engine_variable=`SELECT 1 FROM information_schema.global_variables WHERE variable_name = "default_tmp_storage_engine"`;
 if ($have_default_tmp_storage_engine_variable) {
   let original_default_tmp_storage_engine=`SELECT variable_value FROM information_schema.global_variables WHERE variable_name = "default_tmp_storage_engine"`;
+  if (!$original_default_tmp_storage_engine) {
+    let original_default_tmp_storage_engine=NULL;
+  }
   set default_tmp_storage_engine=Mroonga;
 }
 
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-mysql-commit mailing list
Back to archive index