diff options
author | unknown <gluh@eagle.(none)> | 2007-11-14 17:26:22 +0400 |
---|---|---|
committer | unknown <gluh@eagle.(none)> | 2007-11-14 17:26:22 +0400 |
commit | bed60e0175ccb2c35ecb48c360820bd5cf31f246 (patch) | |
tree | f5f7afd88210c83e872d7f419b82d482ecf1152d /mysql-test/r/select.result | |
parent | 9a0020b5c41977df46d83baaa3f03b53ea87412b (diff) | |
parent | 001c78e29e7a917bad4d64673e84230768d936ad (diff) | |
download | mariadb-git-bed60e0175ccb2c35ecb48c360820bd5cf31f246.tar.gz |
Merge mysql.com:/home/gluh/MySQL/Merge/5.0
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
mysql-test/t/subselect.test:
Auto merged
mysql-test/t/variables.test:
Auto merged
sql/item_func.cc:
Auto merged
sql/item_timefunc.cc:
Auto merged
mysql-test/r/select.result:
manual merge
mysql-test/t/select.test:
manual merge
Diffstat (limited to 'mysql-test/r/select.result')
-rw-r--r-- | mysql-test/r/select.result | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mysql-test/r/select.result b/mysql-test/r/select.result index cb17ea074a0..a1ba58a536c 100644 --- a/mysql-test/r/select.result +++ b/mysql-test/r/select.result @@ -4287,4 +4287,39 @@ c32 1 1 DROP TABLE t1, t2, t3; + +# +# Bug#30736: Row Size Too Large Error Creating a Table and +# Inserting Data. +# +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; + +CREATE TABLE t1( +c1 DECIMAL(10, 2), +c2 FLOAT); + +INSERT INTO t1 VALUES (0, 1), (2, 3), (4, 5); + +CREATE TABLE t2( +c3 DECIMAL(10, 2)) +SELECT +c1 * c2 AS c3 +FROM t1; + +SELECT * FROM t1; +c1 c2 +0.00 1 +2.00 3 +4.00 5 + +SELECT * FROM t2; +c3 +0.00 +6.00 +20.00 + +DROP TABLE t1; +DROP TABLE t2; + End of 5.0 tests |