1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fixed crashing bug with alter table when table was in use (Bug #3643)

We didn't use 'only index' for tables of type 'const'. (Bug #3497)
This commit is contained in:
monty@mysql.com
2004-05-05 12:31:17 +03:00
parent 59ddd8c738
commit 7e3cf5958c
11 changed files with 82 additions and 20 deletions

View File

@ -639,3 +639,14 @@ name
aaaaaaaaaaccccc
bbbbbbbbbbddddd
drop table t1, t2;
create table t1 (c1 INT);
insert into t1 (c1) values ('21474836461');
Warnings:
Warning 1265 Data truncated for column 'c1' at row 1
show warnings;
Level Code Message
Warning 1265 Data truncated for column 'c1' at row 1
select * from t1;
c1
2147483647
drop table t1;