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
c7768076
Commit
c7768076
authored
Mar 27, 2024
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-33460 use the correct sql_mode and fix for --view
parent
0fc123c5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
mysql-test/main/empty_string_literal.result
mysql-test/main/empty_string_literal.result
+3
-2
mysql-test/main/empty_string_literal.test
mysql-test/main/empty_string_literal.test
+3
-0
No files found.
mysql-test/main/empty_string_literal.result
View file @
c7768076
...
...
@@ -208,12 +208,13 @@ t1 CREATE TABLE `t1` (
KEY `a` (`a`,`b`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
drop table t1;
set sql_mode= default;
#
# MDEV-33460 select '123' 'x'; unexpected result
#
SELECT '';
NULL
NULL
SELECT '' 'b' 'c';
bc
bc
...
...
mysql-test/main/empty_string_literal.test
View file @
c7768076
...
...
@@ -25,12 +25,15 @@ flush tables;
update
t1
set
a
=
2
;
show
create
table
t1
;
drop
table
t1
;
set
sql_mode
=
default
;
--
echo
#
--
echo
# MDEV-33460 select '123' 'x'; unexpected result
--
echo
#
--
disable_view_protocol
SELECT
''
;
--
enable_view_protocol
SELECT
''
'b'
'c'
;
SELECT
''
''
'c'
;
SELECT
'a'
''
'c'
;
...
...
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