Commit 8448c687 authored by Sergey Petrunya's avatar Sergey Petrunya

Fix trivial compile failures observed in buildbot

parent bdb05fcf
......@@ -2975,7 +2975,7 @@ bool ha_partition::setup_engine_array(MEM_ROOT *mem_root)
}
}
my_afree((gptr) engine_array);
my_afree((void*) engine_array);
if (create_handlers(mem_root))
{
......@@ -2986,7 +2986,7 @@ bool ha_partition::setup_engine_array(MEM_ROOT *mem_root)
DBUG_RETURN(false);
err:
my_afree((gptr) engine_array);
my_afree((void*) engine_array);
DBUG_RETURN(true);
}
......
......@@ -364,12 +364,12 @@ public:
/// Put the instruction on the backpatch list, associated with the label.
int
push_backpatch(sp_instr *, struct sp_label *);
push_backpatch(sp_instr *, sp_label *);
/// Update all instruction with this label in the backpatch list to
/// the current position.
void
backpatch(struct sp_label *);
backpatch(sp_label *);
/// Start a new cont. backpatch level. If 'i' is NULL, the level is just incr.
int
......@@ -505,7 +505,7 @@ private:
DYNAMIC_ARRAY m_instr; ///< The "instructions"
typedef struct
{
struct sp_label *lab;
sp_label *lab;
sp_instr *instr;
} bp_t;
List<bp_t> m_backpatch; ///< Instructions needing backpatching
......
......@@ -347,7 +347,7 @@ Diagnostics_area::reset_diagnostics_area()
{
DBUG_ENTER("reset_diagnostics_area");
#ifdef DBUG_OFF
can_overwrite_status= FALSE;
m_can_overwrite_status= FALSE;
/** Don't take chances in production */
m_message[0]= '\0';
m_sql_errno= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment