diff options
author | Andrei Elkin <aelkin@mysql.com> | 2009-03-26 11:25:43 +0200 |
---|---|---|
committer | Andrei Elkin <aelkin@mysql.com> | 2009-03-26 11:25:43 +0200 |
commit | 27cf68795e42b088e5b20551b60dce02a0b52e1d (patch) | |
tree | d013a234687c0123f5912f5f5101104532301aee /sql | |
parent | 67f9a6d1782ff9f00769816fdf3dfb1e9763bba7 (diff) | |
download | mariadb-git-27cf68795e42b088e5b20551b60dce02a0b52e1d.tar.gz |
bug#42977
compilation warning fixed
Diffstat (limited to 'sql')
-rw-r--r-- | sql/log_event.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc index 6220bc276a6..89094da3e94 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -7764,7 +7764,7 @@ Table_map_log_event::Table_map_log_event(THD *thd, TABLE *tbl, ulong tid, m_data_size+= m_dblen + 2; // Include length and terminating \0 m_data_size+= m_tbllen + 2; // Include length and terminating \0 cbuf_end= net_store_length(cbuf, (size_t) m_colcnt); - DBUG_ASSERT((cbuf_end - cbuf) <= sizeof(cbuf)); + DBUG_ASSERT(static_cast<size_t>(cbuf_end - cbuf) <= sizeof(cbuf)); m_data_size+= (cbuf_end - cbuf) + m_colcnt; // COLCNT and column types /* If malloc fails, caught in is_valid() */ |