summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/short_option_2-master.opt
diff options
context:
space:
mode:
authorMarc Alff <marc.alff@oracle.com>2010-08-25 18:59:28 -0600
committerMarc Alff <marc.alff@oracle.com>2010-08-25 18:59:28 -0600
commit4c2de881de86cbb0d5d0abb0fadfb996048849a6 (patch)
treef649b6b130d90c3fdaa4e043bca118a69c38828f /mysql-test/suite/perfschema/t/short_option_2-master.opt
parentd2210981e3051fa0d12d20b09dd6a6524f3232d0 (diff)
downloadmariadb-git-4c2de881de86cbb0d5d0abb0fadfb996048849a6.tar.gz
Bug#55873 short startup options do not work in 5.5
Before this fix, the server did not recognize 'short' (as in -a) options but only 'long' (as in --ansi) options in the startup command line, due to earlier changes in 5.5 introduced for the performance schema. The root cause is that handle_options() did not honor the my_getopt_skip_unknown flag when parsing 'short' options. The fix changes handle_options(), so that my_getopt_skip_unknown is honored in all cases. Note that there are limitations to this, see the added doxygen documentation in handle_options(). The current usage of handle_options() by the server to parse early performance schema options fits within the limitations. This has been enforced by an assert for PARSE_EARLY options, for safety.
Diffstat (limited to 'mysql-test/suite/perfschema/t/short_option_2-master.opt')
-rw-r--r--mysql-test/suite/perfschema/t/short_option_2-master.opt1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/t/short_option_2-master.opt b/mysql-test/suite/perfschema/t/short_option_2-master.opt
new file mode 100644
index 00000000000..5cf7590a1c8
--- /dev/null
+++ b/mysql-test/suite/perfschema/t/short_option_2-master.opt
@@ -0,0 +1 @@
+-aW5