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
37c6613e
Commit
37c6613e
authored
Oct 03, 2009
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
3e052e0f
e60a48b0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
43 deletions
+49
-43
mysql-test/r/variables_debug.result
mysql-test/r/variables_debug.result
+0
-15
mysql-test/r/variables_debug_notembedded.result
mysql-test/r/variables_debug_notembedded.result
+15
-0
mysql-test/t/variables_debug.test
mysql-test/t/variables_debug.test
+0
-28
mysql-test/t/variables_debug_notembedded.test
mysql-test/t/variables_debug_notembedded.test
+34
-0
No files found.
mysql-test/r/variables_debug.result
View file @
37c6613e
...
...
@@ -10,18 +10,3 @@ set debug= '-P';
select @@debug;
@@debug
T
set session debug="t";
show session variables like 'debug';
Variable_name Value
debug t
set session debug="t";
show session variables like 'debug';
Variable_name Value
debug t
set session debug="d:t";
show session variables like 'debug';
Variable_name Value
debug d:t
show session variables like 'debug';
Variable_name Value
debug t
mysql-test/r/variables_debug_notembedded.result
0 → 100644
View file @
37c6613e
set session debug="t";
show session variables like 'debug';
Variable_name Value
debug t
set session debug="t";
show session variables like 'debug';
Variable_name Value
debug t
set session debug="d:t";
show session variables like 'debug';
Variable_name Value
debug d:t
show session variables like 'debug';
Variable_name Value
debug t
mysql-test/t/variables_debug.test
View file @
37c6613e
...
...
@@ -10,31 +10,3 @@ set debug= '+P';
select
@@
debug
;
set
debug
=
'-P'
;
select
@@
debug
;
#
# Checks that assigning variable 'debug' in one session has no influence on
# other session. (BUG#45632 of bugs.mysql.com)
#
connect
(
con1
,
localhost
,
root
,,
test
,,);
connect
(
con2
,
localhost
,
root
,,
test
,,);
# makes output independant of current debug status
connection
con1
;
set
session
debug
=
"t"
;
show
session
variables
like
'debug'
;
connection
con2
;
set
session
debug
=
"t"
;
show
session
variables
like
'debug'
;
# checks influence one session debug variable on another
connection
con1
;
set
session
debug
=
"d:t"
;
show
session
variables
like
'debug'
;
connection
con2
;
show
session
variables
like
'debug'
;
disconnect
con1
;
disconnect
con2
;
connection
default
;
mysql-test/t/variables_debug_notembedded.test
0 → 100644
View file @
37c6613e
#
# Checks that assigning variable 'debug' in one session has no influence on
# other session. (BUG#45632 of bugs.mysql.com)
#
# (this will not work with embedded server because mysqltest_embedded uses the
# same thread for all connections)
#
--
source
include
/
have_debug
.
inc
--
source
include
/
not_embedded
.
inc
connect
(
con1
,
localhost
,
root
,,
test
,,);
connect
(
con2
,
localhost
,
root
,,
test
,,);
# makes output independant of current debug status
connection
con1
;
set
session
debug
=
"t"
;
show
session
variables
like
'debug'
;
connection
con2
;
set
session
debug
=
"t"
;
show
session
variables
like
'debug'
;
# checks influence one session debug variable on another
connection
con1
;
set
session
debug
=
"d:t"
;
show
session
variables
like
'debug'
;
connection
con2
;
show
session
variables
like
'debug'
;
disconnect
con1
;
disconnect
con2
;
connection
default
;
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