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
7ca65155
Commit
7ca65155
authored
Oct 23, 2007
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fixes
parent
849d0f9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
mysql-test/r/type_decimal.result
mysql-test/r/type_decimal.result
+1
-0
mysql-test/t/type_decimal.test
mysql-test/t/type_decimal.test
+15
-0
No files found.
mysql-test/r/type_decimal.result
View file @
7ca65155
...
...
@@ -811,6 +811,7 @@ insert into t1 values (-0.123456,0.123456);
select group_concat(f1),group_concat(f2) from t1;
group_concat(f1) group_concat(f2)
-0.123456 0.123456
drop table t1;
create table t1 (
ua_id decimal(22,0) not null,
ua_invited_by_id decimal(22,0) default NULL,
...
...
mysql-test/t/type_decimal.test
View file @
7ca65155
...
...
@@ -425,5 +425,20 @@ insert into t1 values (-0.123456,0.123456);
select
group_concat
(
f1
),
group_concat
(
f2
)
from
t1
;
drop
table
t1
;
#
# BUG#31450 "Query causes error 1048"
#
create
table
t1
(
ua_id
decimal
(
22
,
0
)
not
null
,
ua_invited_by_id
decimal
(
22
,
0
)
default
NULL
,
primary
key
(
ua_id
)
);
insert
into
t1
values
(
123
,
NULL
),
(
456
,
NULL
);
--
echo
this
must
not
produce
error
1048
:
select
*
from
t1
where
ua_invited_by_id
not
in
(
select
ua_id
from
t1
);
drop
table
t1
;
--
echo
End
of
5.0
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