1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Compile fixes for irix

This commit is contained in:
unknown
2004-08-03 17:16:57 +02:00
parent ec9cd4ecc9
commit ebe79c0b9b
15 changed files with 171 additions and 162 deletions

View File

@ -192,7 +192,7 @@ main(int argc, const char** argv){
,{ "rm", 0, arg_flag, &rm, "-c rm", "undefine process(es)" }
};
const int num_args = 10;
int i;
int optind = 0;
char desc[] = "[host:[port]]\n";
@ -215,13 +215,13 @@ main(int argc, const char** argv){
Expression * m_expr = 0;
for(int i = optind; i<argc; i++){
for(i = optind; i<argc; i++){
add_host(g_hosts, argv[i]);
}
OrExpr * orE = new OrExpr(new Operate(cmd, g_settings), true);
m_expr = orE;
for(int i = optind; i<argc; i++){
for(i = optind; i<argc; i++){
BaseString tmp(argv[i]);
Vector<BaseString> split;
tmp.split(split, ":");