Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8448c687
Commit
8448c687
authored
Jul 05, 2013
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix trivial compile failures observed in buildbot
parent
bdb05fcf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
sql/ha_partition.cc
sql/ha_partition.cc
+2
-2
sql/sp_head.h
sql/sp_head.h
+3
-3
sql/sql_error.cc
sql/sql_error.cc
+1
-1
No files found.
sql/ha_partition.cc
View file @
8448c687
...
@@ -2975,7 +2975,7 @@ bool ha_partition::setup_engine_array(MEM_ROOT *mem_root)
...
@@ -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
))
if
(
create_handlers
(
mem_root
))
{
{
...
@@ -2986,7 +2986,7 @@ bool ha_partition::setup_engine_array(MEM_ROOT *mem_root)
...
@@ -2986,7 +2986,7 @@ bool ha_partition::setup_engine_array(MEM_ROOT *mem_root)
DBUG_RETURN
(
false
);
DBUG_RETURN
(
false
);
err:
err:
my_afree
((
gptr
)
engine_array
);
my_afree
((
void
*
)
engine_array
);
DBUG_RETURN
(
true
);
DBUG_RETURN
(
true
);
}
}
...
...
sql/sp_head.h
View file @
8448c687
...
@@ -364,12 +364,12 @@ public:
...
@@ -364,12 +364,12 @@ public:
/// Put the instruction on the backpatch list, associated with the label.
/// Put the instruction on the backpatch list, associated with the label.
int
int
push_backpatch
(
sp_instr
*
,
s
truct
s
p_label
*
);
push_backpatch
(
sp_instr
*
,
sp_label
*
);
/// Update all instruction with this label in the backpatch list to
/// Update all instruction with this label in the backpatch list to
/// the current position.
/// the current position.
void
void
backpatch
(
s
truct
s
p_label
*
);
backpatch
(
sp_label
*
);
/// Start a new cont. backpatch level. If 'i' is NULL, the level is just incr.
/// Start a new cont. backpatch level. If 'i' is NULL, the level is just incr.
int
int
...
@@ -505,7 +505,7 @@ private:
...
@@ -505,7 +505,7 @@ private:
DYNAMIC_ARRAY
m_instr
;
///< The "instructions"
DYNAMIC_ARRAY
m_instr
;
///< The "instructions"
typedef
struct
typedef
struct
{
{
s
truct
s
p_label
*
lab
;
sp_label
*
lab
;
sp_instr
*
instr
;
sp_instr
*
instr
;
}
bp_t
;
}
bp_t
;
List
<
bp_t
>
m_backpatch
;
///< Instructions needing backpatching
List
<
bp_t
>
m_backpatch
;
///< Instructions needing backpatching
...
...
sql/sql_error.cc
View file @
8448c687
...
@@ -347,7 +347,7 @@ Diagnostics_area::reset_diagnostics_area()
...
@@ -347,7 +347,7 @@ Diagnostics_area::reset_diagnostics_area()
{
{
DBUG_ENTER
(
"reset_diagnostics_area"
);
DBUG_ENTER
(
"reset_diagnostics_area"
);
#ifdef DBUG_OFF
#ifdef DBUG_OFF
can_overwrite_status
=
FALSE
;
m_
can_overwrite_status
=
FALSE
;
/** Don't take chances in production */
/** Don't take chances in production */
m_message
[
0
]
=
'\0'
;
m_message
[
0
]
=
'\0'
;
m_sql_errno
=
0
;
m_sql_errno
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment