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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4e68f1ba
Commit
4e68f1ba
authored
Feb 15, 2006
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-merge fixes for dbug
parent
48b8e842
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
dbug/dbug.c
dbug/dbug.c
+3
-0
sql/set_var.h
sql/set_var.h
+1
-6
No files found.
dbug/dbug.c
View file @
4e68f1ba
...
...
@@ -67,6 +67,7 @@
* DBUG_EXECUTE_IF
* incremental mode (-#+t:-d,info ...)
* DBUG_SET, _db_explain_
* thread-local settings
*
*/
...
...
@@ -547,6 +548,7 @@ void _db_set_(CODE_STATE *cs, const char *control)
if
(
!
rel
)
sign
=
0
;
c
=
*
control
++
;
if
(
*
control
==
','
)
control
++
;
/* XXX when adding new cases here, don't forget _db_explain_ ! */
switch
(
c
)
{
case
'd'
:
if
(
sign
<
0
&&
control
==
end
)
...
...
@@ -857,6 +859,7 @@ int _db_explain_ (CODE_STATE *cs, char *buf, int len)
op_bool_to_buf
(
'P'
,
cs
->
stack
->
flags
&
PROCESS_ON
);
op_bool_to_buf
(
'r'
,
cs
->
stack
->
sub_level
!=
0
);
op_intf_to_buf
(
't'
,
cs
->
stack
->
maxdepth
,
MAXDEPTH
,
TRACING
);
op_bool_to_buf
(
'T'
,
cs
->
stack
->
flags
&
TIMESTAMP_ON
);
op_bool_to_buf
(
'S'
,
cs
->
stack
->
flags
&
SANITY_CHECK_ON
);
*
buf
=
'\0'
;
...
...
sql/set_var.h
View file @
4e68f1ba
...
...
@@ -435,12 +435,7 @@ class sys_var_thd_dbug :public sys_var_thd
bool
check
(
THD
*
thd
,
set_var
*
var
);
SHOW_TYPE
type
()
{
return
SHOW_CHAR
;
}
bool
update
(
THD
*
thd
,
set_var
*
var
);
void
set_default
(
THD
*
thd
,
enum_var_type
type
)
{
char
buf
[
256
];
DBUG_EXPLAIN_INITIAL
(
buf
,
sizeof
(
buf
));
DBUG_SET
(
buf
);
}
void
set_default
(
THD
*
thd
,
enum_var_type
type
)
{
DBUG_POP
();
}
byte
*
value_ptr
(
THD
*
thd
,
enum_var_type
type
,
LEX_STRING
*
b
);
};
...
...
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