compilation warnings

This commit is contained in:
Sergei Golubchik 2008-12-05 19:13:08 +01:00
parent d00d63dda2
commit 633eabc643
2 changed files with 2 additions and 2 deletions

View File

@ -1886,7 +1886,7 @@ limit_not_met:
{ {
if (mysql_field_count(mysql)) if (mysql_field_count(mysql))
{ {
if (result= mysql_store_result(mysql)) if ((result= mysql_store_result(mysql)))
{ {
while ((row = mysql_fetch_row(result))) while ((row = mysql_fetch_row(result)))
counter++; counter++;

View File

@ -390,7 +390,7 @@ my_bool trnman_end_trn(TRN *trn, my_bool commit)
TRN *free_me= 0; TRN *free_me= 0;
LF_PINS *pins= trn->pins; LF_PINS *pins= trn->pins;
DBUG_ENTER("trnman_end_trn"); DBUG_ENTER("trnman_end_trn");
DBUG_PRINT("enter", ("trn=0x%lx commit=%d", trn, commit)); DBUG_PRINT("enter", ("trn=0x%lx commit=%d", (ulong) trn, commit));
DBUG_ASSERT(trn->rec_lsn == 0); DBUG_ASSERT(trn->rec_lsn == 0);
/* if a rollback, all UNDO records should have been executed */ /* if a rollback, all UNDO records should have been executed */