mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
(ibuf0ibuf.c:1300) Bug#55227 Fix compiler warnings in innodb with gcc 4.6
This commit is contained in:
parent
6dfcadafc9
commit
2efc8b2221
1 changed files with 1 additions and 2 deletions
|
|
@ -1297,12 +1297,11 @@ ibuf_rec_get_op_type(
|
|||
const rec_t* rec) /*!< in: ibuf record */
|
||||
{
|
||||
ulint len;
|
||||
const byte* field;
|
||||
|
||||
ut_ad(ibuf_inside());
|
||||
ut_ad(rec_get_n_fields_old(rec) > 2);
|
||||
|
||||
field = rec_get_nth_field_old(rec, 1, &len);
|
||||
(void) rec_get_nth_field_old(rec, 1, &len);
|
||||
|
||||
if (len > 1) {
|
||||
/* This is a < 4.1.x format record */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue