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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
710d4224
Commit
710d4224
authored
May 18, 2006
by
igor@rurik.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0
into rurik.mysql.com:/home/igor/mysql-5.0
parents
3b3e6ecb
7d54b004
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
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
+6
-0
sql/item_strfunc.h
sql/item_strfunc.h
+1
-1
No files found.
mysql-test/r/func_str.result
View file @
710d4224
...
...
@@ -1046,4 +1046,10 @@ cast(ltrim(' 20.06 ') as decimal(19,2))
select cast(rtrim(ltrim(' 20.06 ')) as decimal(19,2));
cast(rtrim(ltrim(' 20.06 ')) as decimal(19,2))
20.06
select conv("18383815659218730760",10,10) + 0;
conv("18383815659218730760",10,10) + 0
1.8383815659219e+19
select "18383815659218730760" + 0;
"18383815659218730760" + 0
1.8383815659219e+19
End of 5.0 tests
mysql-test/t/func_str.test
View file @
710d4224
...
...
@@ -698,4 +698,10 @@ select cast(rtrim(' 20.06 ') as decimal(19,2));
select
cast
(
ltrim
(
' 20.06 '
)
as
decimal
(
19
,
2
));
select
cast
(
rtrim
(
ltrim
(
' 20.06 '
))
as
decimal
(
19
,
2
));
#
# Bug #13975: "same string" + 0 has 2 different results
#
select
conv
(
"18383815659218730760"
,
10
,
10
)
+
0
;
select
"18383815659218730760"
+
0
;
--
echo
End
of
5.0
tests
sql/item_strfunc.h
View file @
710d4224
...
...
@@ -542,7 +542,7 @@ public:
void
fix_length_and_dec
()
{
collation
.
set
(
default_charset
());
decimals
=
0
;
max_length
=
64
;
max_length
=
64
;
}
};
...
...
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