summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-07-05 13:56:05 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-07-05 13:56:05 +0400
commit8448c68705a38d798e57a6d1b44e7181ca12aa89 (patch)
tree0bc1934bb951e6218f5343a421cd729a2db08c45 /sql
parentbdb05fcf7ca5f6b8a3ff63066d1408bd10ee0b91 (diff)
downloadmariadb-git-8448c68705a38d798e57a6d1b44e7181ca12aa89.tar.gz
Fix trivial compile failures observed in buildbot
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_partition.cc4
-rw-r--r--sql/sp_head.h6
-rw-r--r--sql/sql_error.cc2
3 files changed, 6 insertions, 6 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index ed7d505f1a7..65eacf94823 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -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);
}
diff --git a/sql/sp_head.h b/sql/sp_head.h
index f91e30ab8a4..8fd2dad1563 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -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
diff --git a/sql/sql_error.cc b/sql/sql_error.cc
index a52b9bf5a14..40173351d54 100644
--- a/sql/sql_error.cc
+++ b/sql/sql_error.cc
@@ -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;