diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-09-09 19:31:29 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-09-09 19:31:29 +0200 |
commit | 42f56557f59705aeec83a54f02399b04d52e9eea (patch) | |
tree | 69db851f78adb21b42f9898f501934f669d64a91 /client/mysql_plugin.c | |
parent | 92265da9d77bc750eb234cfac9d6239675078983 (diff) | |
download | mariadb-git-42f56557f59705aeec83a54f02399b04d52e9eea.tar.gz |
MDEV-4941 make: AIX fails with 'Identifier not allowed in cast'; syntax error in include/my_global.h
C++ comments in C files, and a typo in my_global.h
Diffstat (limited to 'client/mysql_plugin.c')
-rw-r--r-- | client/mysql_plugin.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/client/mysql_plugin.c b/client/mysql_plugin.c index b6fa350b54a..c3fa1a49e81 100644 --- a/client/mysql_plugin.c +++ b/client/mysql_plugin.c @@ -101,7 +101,7 @@ int main(int argc,char *argv[]) MY_INIT(argv[0]); sf_leaking_memory=1; /* don't report memory leaks on early exits */ - plugin_data.name= 0; // initialize name + plugin_data.name= 0; /* initialize name */ /* The following operations comprise the method for enabling or disabling @@ -655,11 +655,11 @@ static int load_plugin_data(char *plugin_name, char *config_file) } break; } - if ((line[0] == '#') || (line[0] == '\n')) // skip comment and blank lines + if ((line[0] == '#') || (line[0] == '\n')) /* skip comment and blank lines */ { continue; } - if (i == -1) // if first pass, read this line as so_name + if (i == -1) /* if first pass, read this line as so_name */ { /* Add proper file extension for soname */ strcat(line, FN_SOEXT); @@ -707,10 +707,10 @@ error: static int check_options(int argc, char **argv, char *operation) { - int i= 0; // loop counter - int num_found= 0; // number of options found (shortcut loop) - char config_file[FN_REFLEN]; // configuration file name - char plugin_name[FN_REFLEN]; // plugin name + int i= 0; /* loop counter */ + int num_found= 0; /* number of options found (shortcut loop) */ + char config_file[FN_REFLEN]; /* configuration file name */ + char plugin_name[FN_REFLEN]; /* plugin name */ /* Form prefix strings for the options. */ const char *basedir_prefix = "--basedir="; |