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
10aaa775
Commit
10aaa775
authored
May 06, 2020
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '5.5' into 10.1
parents
9c5d06a6
f20c6326
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
mysql-test/r/processlist_notembedded.result
mysql-test/r/processlist_notembedded.result
+2
-1
mysql-test/t/processlist_notembedded.test
mysql-test/t/processlist_notembedded.test
+7
-2
No files found.
mysql-test/r/processlist_notembedded.result
View file @
10aaa775
#
# MDEV-20466: SHOW PROCESSLIST truncates query text on \0 bytes
#
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync';
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync
WAIT_FOR go
';
SET DEBUG_SYNC= 'now WAIT_FOR in_sync';
FOUND /sleep/ in MDEV-20466.text
SET DEBUG_SYNC= 'now SIGNAL go';
SET DEBUG_SYNC = 'RESET';
End of 5.5 tests
mysql-test/t/processlist_notembedded.test
View file @
10aaa775
source
include
/
have_debug
.
inc
;
source
include
/
have_debug_sync
.
inc
;
source
include
/
not_embedded
.
inc
;
source
include
/
count_sessions
.
inc
;
--
echo
#
--
echo
# MDEV-20466: SHOW PROCESSLIST truncates query text on \0 bytes
...
...
@@ -10,9 +11,9 @@ connect (con1,localhost,root,,);
connection
con1
;
let
$q
=
`select CONCAT("SELECT user FROM mysql.user WHERE user ='some", CHAR(0), "
' or sleep (30)
")`
;
let
$q
=
`select CONCAT("SELECT user FROM mysql.user WHERE user ='some", CHAR(0), "
sleep'
")`
;
SET
DEBUG_SYNC
=
'before_join_optimize SIGNAL in_sync'
;
SET
DEBUG_SYNC
=
'before_join_optimize SIGNAL in_sync
WAIT_FOR go
'
;
--
disable_query_log
--
send_eval
$q
;
--
enable_query_log
...
...
@@ -27,8 +28,12 @@ let SEARCH_PATTERN=sleep;
source
include
/
search_pattern_in_file
.
inc
;
remove_file
$MYSQLTEST_VARDIR
/
tmp
//MDEV-20466.text;
SET
DEBUG_SYNC
=
'now SIGNAL go'
;
disconnect
con1
;
SET
DEBUG_SYNC
=
'RESET'
;
source
include
/
wait_until_count_sessions
.
inc
;
--
echo
End
of
5.5
tests
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