summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <lars/lthalmann@mysql.com/dl145k.mysql.com>2007-05-30 11:55:56 +0200
committerunknown <lars/lthalmann@mysql.com/dl145k.mysql.com>2007-05-30 11:55:56 +0200
commitd57f3bbbe1073cb0f3c72a00539bc60c96739b17 (patch)
tree9598d502db237a176febf2aa611baa1a4e83cd2c /sql
parent42eab5a2b1824ad0896100259441a881deff4378 (diff)
downloadmariadb-git-d57f3bbbe1073cb0f3c72a00539bc60c96739b17.tar.gz
Added extra parenthesis to remove compiler warning
Fixed test case rpl_incident.test (synchronize drop table, masked IO thread behaviour) mysql-test/r/rpl_incident.result: Masking master_log_file since IO thread is not synchronized in rpl_incident.test mysql-test/t/rpl_incident.test: Masking master_log_file since IO thread is not synchronized in rpl_incident.test Correcting drop of table so it is synchronized sql/log_event.cc: Added extra parenthesis to remove compiler warning
Diffstat (limited to 'sql')
-rw-r--r--sql/log_event.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 906e55704d7..3cca8d53f07 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -6809,7 +6809,7 @@ int Write_rows_log_event::do_after_row_operations(TABLE *table, int error)
fires bug#27077
todo: explain or fix
*/
- if (local_error= table->file->ha_end_bulk_insert())
+ if ((local_error= table->file->ha_end_bulk_insert()))
{
table->file->print_error(local_error, MYF(0));
}