diff options
author | knielsen@mysql.com <> | 2006-01-02 01:35:30 +0100 |
---|---|---|
committer | knielsen@mysql.com <> | 2006-01-02 01:35:30 +0100 |
commit | 9cfa1def8e37548f1e56dbdb2c6301ccf264a5e2 (patch) | |
tree | 9e6b2262e3c307a9725be5000d289a7631f52bce /client/mysqlslap.c | |
parent | df52ae2abcde9db7dd8da2ce4552db52f6d81244 (diff) | |
download | mariadb-git-9cfa1def8e37548f1e56dbdb2c6301ccf264a5e2.tar.gz |
Don't use C++ style (//) comments in C source (breaks compilation on aix52).
Diffstat (limited to 'client/mysqlslap.c')
-rw-r--r-- | client/mysqlslap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/mysqlslap.c b/client/mysqlslap.c index 4b243361316..d7b068176e0 100644 --- a/client/mysqlslap.c +++ b/client/mysqlslap.c @@ -278,7 +278,7 @@ int main(int argc, char **argv) } } - // Main interations loop + /* Main interations loop */ for (eptr= engine_statements; eptr; eptr= eptr->next) { if (!opt_silent) @@ -1287,7 +1287,7 @@ parse_delimiter(const char *script, statement **stmt, char delm) statement **sptr= stmt; statement *tmp; uint length= strlen(script); - uint count= 0; // We know that there is always one + uint count= 0; /* We know that there is always one */ DBUG_PRINT("info", ("Parsing %s\n", script)); @@ -1322,7 +1322,7 @@ parse_delimiter(const char *script, statement **stmt, char delm) uint parse_comma(const char *string, uint **range) { - uint count= 1,x; // We know that there is always one + uint count= 1,x; /* We know that there is always one */ char *retstr; char *ptr= (char *)string; uint *nptr; @@ -1330,7 +1330,7 @@ parse_comma(const char *string, uint **range) for (;*ptr; ptr++) if (*ptr == ',') count++; - // One extra spot for the NULL + /* One extra spot for the NULL */ nptr= *range= (uint *)my_malloc(sizeof(uint) * (count + 1), MYF(MY_ZEROFILL)); ptr= (char *)string; |