#At file:///Users/kgeorge/mysql/work/fix-warnings-5.5/ based on revid:jimmy.yang@stripped
3416 Georgi Kodinov 2011-06-01
Fixed strict aliasing compilation warnings introduced by the fix of bug #11766854
modified:
tests/mysql_client_test.c
=== modified file 'tests/mysql_client_test.c'
--- a/tests/mysql_client_test.c 2011-03-22 11:48:56 +0000
+++ b/tests/mysql_client_test.c 2011-06-01 14:48:06 +0000
@@ -19647,10 +19647,10 @@ static struct my_option client_test_long
&opt_getopt_ll_test, &opt_getopt_ll_test, 0,
GET_LL, REQUIRED_ARG, 0, 0, LONGLONG_MAX, 0, 0, 0},
{"plugin_dir", 0, "Directory for client-side plugins.",
- (uchar**) &opt_plugin_dir, (uchar**) &opt_plugin_dir, 0,
+ &opt_plugin_dir, &opt_plugin_dir, 0,
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"default_auth", 0, "Default authentication client-side plugin to use.",
- (uchar**) &opt_default_auth, (uchar**) &opt_default_auth, 0,
+ &opt_default_auth, &opt_default_auth, 0,
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
};
Attachment: [text/bzr-bundle] bzr/georgi.kodinov@oracle.com-20110601144806-jaq2tt213bpld5l8.bundle
| Thread |
|---|
| • bzr commit into mysql-5.5 branch (Georgi.Kodinov:3416) Bug#11766854 | Georgi Kodinov | 1 Jun |