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
4b0ce2a1
Commit
4b0ce2a1
authored
Aug 09, 2002
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
parents
addf8304
ea984d02
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
mysql-test/r/func_str.result
mysql-test/r/func_str.result
+6
-0
mysql-test/t/func_str.test
mysql-test/t/func_str.test
+3
-0
No files found.
mysql-test/r/func_str.result
View file @
4b0ce2a1
...
@@ -146,6 +146,12 @@ decode(encode(repeat("a",100000),"monty"),"monty")=repeat("a",100000)
...
@@ -146,6 +146,12 @@ decode(encode(repeat("a",100000),"monty"),"monty")=repeat("a",100000)
select decode(encode("abcdef","monty"),"monty")="abcdef";
select decode(encode("abcdef","monty"),"monty")="abcdef";
decode(encode("abcdef","monty"),"monty")="abcdef"
decode(encode("abcdef","monty"),"monty")="abcdef"
1
1
select quote('\'\"\\test');
quote('\'\"\\test')
'\'\"\\test'
select quote(concat('abc\'', '\\cba'));
quote(concat('abc\'', '\\cba'))
'abc\'\\cba'
select reverse("");
select reverse("");
reverse("")
reverse("")
...
...
mysql-test/t/func_str.test
View file @
4b0ce2a1
...
@@ -61,6 +61,9 @@ select least(1,2,3) | greatest(16,32,8), least(5,4)*1,greatest(-1.0,1.0)*1,least
...
@@ -61,6 +61,9 @@ select least(1,2,3) | greatest(16,32,8), least(5,4)*1,greatest(-1.0,1.0)*1,least
select
decode
(
encode
(
repeat
(
"a"
,
100000
),
"monty"
),
"monty"
)
=
repeat
(
"a"
,
100000
);
select
decode
(
encode
(
repeat
(
"a"
,
100000
),
"monty"
),
"monty"
)
=
repeat
(
"a"
,
100000
);
select
decode
(
encode
(
"abcdef"
,
"monty"
),
"monty"
)
=
"abcdef"
;
select
decode
(
encode
(
"abcdef"
,
"monty"
),
"monty"
)
=
"abcdef"
;
select
quote
(
'\'\"\\test'
);
select
quote
(
concat
(
'abc\''
,
'\\cba'
));
#
#
# Wrong usage of functions
# Wrong usage of functions
#
#
...
...
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