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
70021737
Commit
70021737
authored
Sep 08, 2022
by
Nayuta Yanagisawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-27172 fixup: spider/bugfix.mdev_27172 failed with --ps-protocol
parent
d2e649ae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
storage/spider/mysql-test/spider/bugfix/r/mdev_27172.result
storage/spider/mysql-test/spider/bugfix/r/mdev_27172.result
+1
-2
storage/spider/mysql-test/spider/bugfix/t/mdev_27172.test
storage/spider/mysql-test/spider/bugfix/t/mdev_27172.test
+1
-1
No files found.
storage/spider/mysql-test/spider/bugfix/r/mdev_27172.result
View file @
70021737
...
...
@@ -64,12 +64,11 @@ SELECT * FROM tbl_c WHERE greeting = "Aloha!"
id greeting
2 Aloha!
connection child2_1;
SELECT argument FROM mysql.general_log WHERE argument LIKE 'select %';
SELECT argument FROM mysql.general_log WHERE argument LIKE 'select
`id`,`greeting` from
%';
argument
select `id`,`greeting` from `auto_test_remote`.`tbl_a` where `greeting` = 'Aloha!' and ((`greeting` = 'Aloha!'))
select `id`,`greeting` from `auto_test_remote`.`tbl_b` where `greeting` like 'Aloha%' and ((`greeting` = 'Aloha!'))
select `id`,`greeting` from `auto_test_remote`.`tbl_c` where `greeting` like 'Aloha%' and ((`greeting` = 'Aloha!'))
SELECT argument FROM mysql.general_log WHERE argument LIKE 'select %'
connection child2_1;
SET @@global.general_log = @general_log_backup;
SET @@global.log_output = @log_output_backup;
...
...
storage/spider/mysql-test/spider/bugfix/t/mdev_27172.test
View file @
70021737
...
...
@@ -75,7 +75,7 @@ SELECT * FROM tbl_c WHERE greeting = "Aloha!"
AND
CASE
greeting
WHEN
"Aloha!"
THEN
"one"
ELSE
'more'
END
=
"one"
;
# hack to disable GBH
--
connection
child2_1
SELECT
argument
FROM
mysql
.
general_log
WHERE
argument
LIKE
'select %'
;
SELECT
argument
FROM
mysql
.
general_log
WHERE
argument
LIKE
'select
`id`,`greeting` from
%'
;
--
connection
child2_1
SET
@@
global
.
general_log
=
@
general_log_backup
;
...
...
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