diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2016-06-27 18:02:28 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2016-06-27 18:02:28 +0400 |
commit | 09d902d84befaf3b1d247c2fcb9706e3f83522f4 (patch) | |
tree | 4d27adfcf0fd51a2cd666de7207e4561006beb6b /sql/wsrep_binlog.h | |
parent | 652e799a387f63a582254a68363e720e47db97e4 (diff) | |
download | mariadb-git-09d902d84befaf3b1d247c2fcb9706e3f83522f4.tar.gz |
MDEV-9618 solaris sparc build fails on 10.1.
Compiler on Sparc is strict about the 'const' modifiers
in function declarations and definitions. Meaning
they should be exactly same.
Diffstat (limited to 'sql/wsrep_binlog.h')
-rw-r--r-- | sql/wsrep_binlog.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/wsrep_binlog.h b/sql/wsrep_binlog.h index d8a2eb51d4a..1e820529211 100644 --- a/sql/wsrep_binlog.h +++ b/sql/wsrep_binlog.h @@ -38,10 +38,10 @@ int wsrep_write_cache_buf(IO_CACHE *cache, uchar **buf, size_t *buf_len); @param len total amount of data written @return wsrep error status */ -int wsrep_write_cache (wsrep_t* wsrep, - THD* thd, - IO_CACHE* cache, - size_t* len); +int wsrep_write_cache (wsrep_t* const wsrep, + THD* const thd, + IO_CACHE* const cache, + size_t* const len); /* Dump replication buffer to disk */ void wsrep_dump_rbr_buf(THD *thd, const void* rbr_buf, size_t buf_len); |