1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

my_b_fill, inline my_b_* functions instead of hairy macros

This commit is contained in:
Sergei Golubchik
2015-05-22 14:07:35 +02:00
parent 196e852983
commit 6309a30dc9
5 changed files with 91 additions and 99 deletions

View File

@@ -6703,7 +6703,6 @@ int MYSQL_BIN_LOG::write_cache(THD *thd, IO_CACHE *cache)
return ER_ERROR_ON_WRITE;
status_var_add(thd->status_var.binlog_bytes_written, length);
cache->read_pos=cache->read_end; // Mark buffer used up
} while ((length= my_b_fill(cache)));
DBUG_ASSERT(carry == 0);