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
e2a59eba
Commit
e2a59eba
authored
Jun 18, 2015
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make dbug_print_item() print conditions in siccint form
parent
caf4291d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
sql/item.cc
sql/item.cc
+9
-1
No files found.
sql/item.cc
View file @
e2a59eba
...
...
@@ -9740,7 +9740,15 @@ const char *dbug_print_item(Item *item)
str
.
length
(
0
);
if
(
!
item
)
return
"(Item*)NULL"
;
item
->
print
(
&
str
,
QT_ORDINARY
);
THD
*
thd
=
current_thd
;
ulonglong
save_option_bits
=
thd
->
variables
.
option_bits
;
thd
->
variables
.
option_bits
&=
~
OPTION_QUOTE_SHOW_CREATE
;
item
->
print
(
&
str
,
QT_EXPLAIN
);
thd
->
variables
.
option_bits
=
save_option_bits
;
if
(
str
.
c_ptr
()
==
buf
)
return
buf
;
else
...
...
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