summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-10-27 12:59:09 +0300
committerAlexander Nozdrin <alik@sun.com>2009-10-27 12:59:09 +0300
commit47c9089ef5d87e6d8e6aa3bf066f8057b413f2b5 (patch)
tree39886654de5469ef82ac29be18f49b0fa0925a6b /storage
parent1e5804f2c53e1d9e9c0c2660f0437d7c8294e004 (diff)
parent453eb014f7f44cf92fa40887e17a253338c696fb (diff)
downloadmariadb-git-47c9089ef5d87e6d8e6aa3bf066f8057b413f2b5.tar.gz
Automerge from mysql-next-mr.
Diffstat (limited to 'storage')
-rw-r--r--storage/ndb/test/run-test/setup.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/storage/ndb/test/run-test/setup.cpp b/storage/ndb/test/run-test/setup.cpp
index cbb7a34f171..60f8285888c 100644
--- a/storage/ndb/test/run-test/setup.cpp
+++ b/storage/ndb/test/run-test/setup.cpp
@@ -105,6 +105,8 @@ setup_config(atrt_config& config)
*/
for (j = 0; j<(size_t)argc; j++)
{
+ if (tmp[j] == args_separator) /* skip arguments separator */
+ continue;
for (k = 0; proc_args[k].name; k++)
{
if (!strncmp(tmp[j], proc_args[k].name, strlen(proc_args[k].name)))
@@ -369,6 +371,12 @@ load_options(int argc, char** argv, int type, atrt_options& opts)
{
for (size_t i = 0; i<(size_t)argc; i++)
{
+ /**
+ * Skip the separator for arguments from config file and command
+ * line
+ */
+ if (argv[i] == args_separator)
+ continue;
for (size_t j = 0; f_options[j].name; j++)
{
const char * name = f_options[j].name;