summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-03-16 16:11:01 +0200
committermonty@mysql.com <>2005-03-16 16:11:01 +0200
commit594ef41b2d981bac7dc18ffaaf3e78c970ae4d65 (patch)
tree91072764c1f84696f62c39d4e54fea6a1c35c516 /sql/handler.cc
parent8e54dece315d7e96ce2e4eccf01adfabe660a63a (diff)
downloadmariadb-git-594ef41b2d981bac7dc18ffaaf3e78c970ae4d65.tar.gz
Cleanup during reviews
Removed some optional arguments Fixed portability problem in federated tests
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index f33f987ef77..20c96849c0f 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -834,7 +834,7 @@ int ha_recover(HASH *commit_list)
for now, only InnoDB supports 2pc. It means we can always safely
rollback all pending transactions, without risking inconsistent data
*/
- DBUG_ASSERT(total_ha_2pc == opt_bin_log+1); // only InnoDB and binlog
+ DBUG_ASSERT(total_ha_2pc == (ulong) opt_bin_log+1); // only InnoDB and binlog
tc_heuristic_recover= TC_HEURISTIC_RECOVER_ROLLBACK; // forcing ROLLBACK
dry_run=FALSE;
#endif