mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal:/home/bk/mysql-5.0-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
This commit is contained in:
@ -1423,3 +1423,11 @@ cast(19999999999999999999 as unsigned)
|
||||
18446744073709551615
|
||||
Warnings:
|
||||
Error 1292 Truncated incorrect DECIMAL value: ''
|
||||
create table t1(a decimal(18));
|
||||
insert into t1 values(123456789012345678);
|
||||
alter table t1 modify column a decimal(19);
|
||||
select * from t1;
|
||||
a
|
||||
123456789012345678
|
||||
drop table t1;
|
||||
End of 5.0 tests
|
||||
|
@ -1120,3 +1120,14 @@ drop table t1;
|
||||
#
|
||||
select cast(19999999999999999999 as unsigned);
|
||||
|
||||
#
|
||||
# Bug #24558: Increasing decimal column length causes data loss
|
||||
#
|
||||
|
||||
create table t1(a decimal(18));
|
||||
insert into t1 values(123456789012345678);
|
||||
alter table t1 modify column a decimal(19);
|
||||
select * from t1;
|
||||
drop table t1;
|
||||
|
||||
--echo End of 5.0 tests
|
||||
|
Reference in New Issue
Block a user