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
b0e03c13
Commit
b0e03c13
authored
Oct 03, 2008
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap function used for debugging with the DBUG_OFF condition.
Function uses a variable only available under debug mode.
parent
6cf143a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
sql/sql_base.cc
sql/sql_base.cc
+3
-1
No files found.
sql/sql_base.cc
View file @
b0e03c13
...
...
@@ -3720,8 +3720,9 @@ void assign_new_table_id(TABLE_SHARE *share)
DBUG_VOID_RETURN
;
}
#ifndef DBUG_OFF
/* Cause a spurious statement reprepare for debug purposes. */
static
inline
bool
inject_reprepare
(
THD
*
thd
)
static
bool
inject_reprepare
(
THD
*
thd
)
{
if
(
thd
->
m_reprepare_observer
&&
thd
->
stmt_arena
->
is_reprepared
==
FALSE
)
{
...
...
@@ -3731,6 +3732,7 @@ static inline bool inject_reprepare(THD *thd)
return
FALSE
;
}
#endif
/**
Compare metadata versions of an element obtained from the table
...
...
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