• Georgi Kodinov's avatar
    Bug #13548161: MYSQLD_SAFE IMPROVEMENTS FOR 5.5 ALLWAYS SETS PLUGIN_DIR · 4fb57747
    Georgi Kodinov authored
    TO DEFAULT IGNOR
    
    The test in mysqld_safe for the presence of the --plugin-dir and assigning a default
    value to it were performed before the actual argument parsing.
    This is wrong, as PLUGIN_DIR mysqld_safe code also uses MY_BASEDIR_VERSION to 
    look for version specific plugin directory if present.
    Fixed by moving the PLUGIN_DIR logic after the parse_arguments() call.
    4fb57747
mysqld_safe.sh 22.5 KB