mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0 sql/field.cc: Auto merged
This commit is contained in:
@ -363,3 +363,9 @@ CREATE TABLE t1 (a_dec DECIMAL(-2,1));
|
||||
Too big column length for column 'a_dec' (max = 255). Use BLOB instead
|
||||
CREATE TABLE t1 (a_dec DECIMAL(-1,1));
|
||||
Too big column length for column 'a_dec' (max = 255). Use BLOB instead
|
||||
create table t1(a decimal(10,4));
|
||||
insert into t1 values ("+0000100000000");
|
||||
select * from t1;
|
||||
a
|
||||
9999999.9999
|
||||
drop table t1;
|
||||
|
@ -240,3 +240,9 @@ CREATE TABLE t1 (a_dec DECIMAL(-1,0));
|
||||
CREATE TABLE t1 (a_dec DECIMAL(-2,1));
|
||||
--error 1074
|
||||
CREATE TABLE t1 (a_dec DECIMAL(-1,1));
|
||||
|
||||
# Zero prepend overflow bug
|
||||
create table t1(a decimal(10,4));
|
||||
insert into t1 values ("+0000100000000");
|
||||
select * from t1;
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user