[Groonga-mysql-commit] mroonga/mroonga [master] wrapper innodb test: support 'SET storage_mode=InnoDB'

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 18日 (日) 18:42:23 JST


Kouhei Sutou	2012-03-18 18:42:23 +0900 (Sun, 18 Mar 2012)

  New Revision: 1639bbdcdc3fa4c0dea2a1dbb67f7c7326f06865

  Log:
    wrapper innodb test: support 'SET storage_mode=InnoDB'
    
    refs #1195

  Modified files:
    test/run-sql-test.sh

  Modified: test/run-sql-test.sh (+2 -0)
===================================================================
--- test/run-sql-test.sh    2012-03-18 18:19:08 +0900 (c4ecc94)
+++ test/run-sql-test.sh    2012-03-18 18:42:23 +0900 (2f45656)
@@ -95,6 +95,8 @@ if ! test -d "${mroonga_wrapper_innodb_test_suite_dir}"; then
     ruby -i'' \
 	-pe "\$_.gsub!(/\bengine\s*=\s*innodb\b([^;\\n]*)/i,
                       \"ENGINE=mroonga\\\1 COMMENT='ENGINE \\\"InnoDB\\\"'\")
+             \$_.gsub!(/\b(storage_engine\s*=\s*)innodb\b([^;\\n]*)/i,
+                      \"\\\1mroonga\")
             " \
 	${mroonga_wrapper_innodb_test_suite_dir}/r/*.result \
 	${mroonga_wrapper_innodb_test_suite_dir}/t/*.test \




Groonga-mysql-commit メーリングリストの案内
Back to archive index