From c7c0dc68828ca7b206e6bd36099e0fe7ec652f59 Mon Sep 17 00:00:00 2001
From: Magnus Svensson <msvensson@mysql.com>
Date: Tue, 27 Jan 2009 10:45:39 +0100
Subject: [PATCH] Bug#42358 fulltext_plugin test fails on pushbuild: Too many
 arguments (first extra is '')  - pass empty "--plugin-dir" if simple parser
 was not found.

---
 mysql-test/mysql-test-run.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 49d4091598..4bd9f107f9 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -1677,8 +1677,8 @@ sub environment_setup {
 
   $ENV{'SIMPLE_PARSER'}=
     ($lib_simple_parser ? basename($lib_simple_parser) : "");
-  $ENV{'SIMPLE_PARSER_OPT'}=
-    ($lib_simple_parser ? "--plugin_dir=" . dirname($lib_simple_parser) : "");
+  $ENV{'SIMPLE_PARSER_OPT'}= "--plugin-dir=".
+    ($lib_simple_parser ? dirname($lib_simple_parser) : "");
 
   # --------------------------------------------------------------------------
   # Valgrind need to be run with debug libraries otherwise it's almost
-- 
2.30.9