Skip to content

--mysql-ssl missing value issue when setting bmk_mysql_ssl=REQUIRED #1

Description

@amroo76

--mysql-ssl needs to be assigned the value of bmk_mysql_ssl
which was missing so fixed it.

Fix to be done
diff --git a/test_suites/sysbench-lua.pm b/test_suites/sysbench-lua.pm
index 3bca1c4..1b559e2 100644
--- a/test_suites/sysbench-lua.pm
+++ b/test_suites/sysbench-lua.pm
@@ -2511,7 +2511,7 @@ sub SetConnectionArgs {
}

     $args .= " --thread-init-timeout=" . $tsOpt{thread_init_timeout};
  •    $args .= " --mysql-ssl" if defined $tsOpt{bmk_mysql_ssl};
    
  •    $args .= " --mysql-ssl=" .$tsOpt{bmk_mysql_ssl} if defined $tsOpt{bmk_mysql_ssl};
    
       $args .= " --sync-file='" . $tsOpt{bmk_sync_file} . "'" if defined $tsOpt{bmk_sync_file};
       $args .= " --sync-wait=" . $tsOpt{bmk_sync_file_wait_timeout_ms} if defined $tsOpt{bmk_sync_file_wait_timeout_ms};
    

@@ -2819,4 +2819,4 @@ sub VerifyOptions {
#############################################################################

Module terminator

#############################################################################
-1;
\ No newline at end of file
+1;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions