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
ba3d60b1
Commit
ba3d60b1
authored
May 11, 2007
by
holyfoot/hf@mysql.com/hfmain.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merging fixes
parent
7b6a467c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
mysql-test/r/insert_update.result
mysql-test/r/insert_update.result
+2
-2
mysql-test/r/type_newdecimal.result
mysql-test/r/type_newdecimal.result
+9
-9
No files found.
mysql-test/r/insert_update.result
View file @
ba3d60b1
...
@@ -378,7 +378,7 @@ id c1 cnt
...
@@ -378,7 +378,7 @@ id c1 cnt
INSERT IGNORE INTO t1 (id,c1) SELECT 1,NULL
INSERT IGNORE INTO t1 (id,c1) SELECT 1,NULL
ON DUPLICATE KEY UPDATE c1=NULL, cnt=cnt+1;
ON DUPLICATE KEY UPDATE c1=NULL, cnt=cnt+1;
Warnings:
Warnings:
Warning 1
263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'c1' at row 1
Warning 1
048 Column 'c1' cannot be null
Error 1048 Column 'c1' cannot be null
Error 1048 Column 'c1' cannot be null
SELECT * FROM t1;
SELECT * FROM t1;
id c1 cnt
id c1 cnt
...
@@ -386,7 +386,7 @@ id c1 cnt
...
@@ -386,7 +386,7 @@ id c1 cnt
INSERT IGNORE INTO t1 (id,c1) SELECT * FROM t2
INSERT IGNORE INTO t1 (id,c1) SELECT * FROM t2
ON DUPLICATE KEY UPDATE c1=NULL, cnt=cnt+1;
ON DUPLICATE KEY UPDATE c1=NULL, cnt=cnt+1;
Warnings:
Warnings:
Warning 1
263 Column was set to data type implicit default; NULL supplied for NOT NULL column 'c1' at row 1
Warning 1
048 Column 'c1' cannot be null
Error 1048 Column 'c1' cannot be null
Error 1048 Column 'c1' cannot be null
SELECT * FROM t1;
SELECT * FROM t1;
id c1 cnt
id c1 cnt
...
...
mysql-test/r/type_newdecimal.result
View file @
ba3d60b1
...
@@ -1444,12 +1444,12 @@ select cast(11.1234 as DECIMAL(3,2));
...
@@ -1444,12 +1444,12 @@ select cast(11.1234 as DECIMAL(3,2));
cast(11.1234 as DECIMAL(3,2))
cast(11.1234 as DECIMAL(3,2))
9.99
9.99
Warnings:
Warnings:
Error 1264 Out of range value
adjusted
for column 'cast(11.1234 as DECIMAL(3,2))' at row 1
Error 1264 Out of range value for column 'cast(11.1234 as DECIMAL(3,2))' at row 1
select * from (select cast(11.1234 as DECIMAL(3,2))) t;
select * from (select cast(11.1234 as DECIMAL(3,2))) t;
cast(11.1234 as DECIMAL(3,2))
cast(11.1234 as DECIMAL(3,2))
9.99
9.99
Warnings:
Warnings:
Error 1264 Out of range value
adjusted
for column 'cast(11.1234 as DECIMAL(3,2))' at row 1
Error 1264 Out of range value for column 'cast(11.1234 as DECIMAL(3,2))' at row 1
select cast(a as DECIMAL(3,2))
select cast(a as DECIMAL(3,2))
from (select 11.1233 as a
from (select 11.1233 as a
UNION select 11.1234
UNION select 11.1234
...
@@ -1460,9 +1460,9 @@ cast(a as DECIMAL(3,2))
...
@@ -1460,9 +1460,9 @@ cast(a as DECIMAL(3,2))
9.99
9.99
9.99
9.99
Warnings:
Warnings:
Error 1264 Out of range value
adjusted
for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value
adjusted
for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value
adjusted
for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value for column 'cast(a as DECIMAL(3,2))' at row 1
select cast(a as DECIMAL(3,2)), count(*)
select cast(a as DECIMAL(3,2)), count(*)
from (select 11.1233 as a
from (select 11.1233 as a
UNION select 11.1234
UNION select 11.1234
...
@@ -1471,10 +1471,10 @@ UNION select 12.1234
...
@@ -1471,10 +1471,10 @@ UNION select 12.1234
cast(a as DECIMAL(3,2)) count(*)
cast(a as DECIMAL(3,2)) count(*)
9.99 3
9.99 3
Warnings:
Warnings:
Error 1264 Out of range value
adjusted
for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value
adjusted
for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value
adjusted
for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value
adjusted
for column 'cast(a as DECIMAL(3,2))' at row 1
Error 1264 Out of range value for column 'cast(a as DECIMAL(3,2))' at row 1
End of 5.0 tests
End of 5.0 tests
select cast(143.481 as decimal(4,1));
select cast(143.481 as decimal(4,1));
cast(143.481 as decimal(4,1))
cast(143.481 as decimal(4,1))
...
...
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