diff options
author | unknown <pem@mysql.comhem.se> | 2005-06-29 14:23:43 +0200 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2005-06-29 14:23:43 +0200 |
commit | 4b0f98747727bafe604b073e3ad6ce416a184400 (patch) | |
tree | c3c2018b277db2cdcc02de6100bce144f2ed220c /client/mysqltest.c | |
parent | 84aa570ddfc8a0ad04ecbf0a163492f1209b336b (diff) | |
download | mariadb-git-4b0f98747727bafe604b073e3ad6ce416a184400.tar.gz |
Fixed compiler errors (i.e. changed C++-isms into C)
client/mysqldump.c:
Moved variable declaration to beginning of block (and removed const to get rid of warnings).
client/mysqltest.c:
Moved DBUG_PRINT after variable declarations.
Diffstat (limited to 'client/mysqltest.c')
-rw-r--r-- | client/mysqltest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 7fdaf1098c2..a7f9420df6d 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -994,10 +994,10 @@ static void do_exec(struct st_query* q) die("At line %u: command \"%s\" failed", start_lineno, cmd); else { - DBUG_PRINT("info", - ("error: %d, status: %d", error, status)); bool ok= 0; uint i; + DBUG_PRINT("info", + ("error: %d, status: %d", error, status)); for (i=0 ; (uint) i < q->expected_errors ; i++) { DBUG_PRINT("info", ("expected error: %d", q->expected_errno[i].code.errnum)); |