| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/mysql/mysql-test/main/ |
Upload File : |
--source include/have_innodb.inc
--source include/have_sequence.inc
--echo #
--echo # MDEV-16110 ALTER with ALGORITHM=INPLACE breaks temporary table with virtual columns
--echo #
create table t (a int, v int as (a)) engine=innodb;
--error ER_ALTER_OPERATION_NOT_SUPPORTED_REASON
alter table t change column a b tinyint, algorithm=inplace;
show create table t;
drop table t;
create temporary table t1 (a int, v int as (a));
--error ER_ALTER_OPERATION_NOT_SUPPORTED
alter table t1 change column a b int, algorithm=inplace;
show create table t1;
create temporary table t2 (a int, v int as (a));
lock table t2 write;
--error ER_ALTER_OPERATION_NOT_SUPPORTED
alter table t2 change column a b int, algorithm=inplace;
show create table t2;
drop temporary table t1, t2;
unlock tables;
--echo #
--echo # MDEV-18083 ASAN heap-use-after-free in Field::set_warning_truncated_wrong_value upon inserting into temporary table
--echo #
create temporary table t1 (a int);
alter table t1 add column f text;
--error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
insert into t1 values ('x','foo');
drop temporary table t1;
--echo # End of 10.2 tests
--echo #
--echo # MDEV-27578 DESC attribute upon spatial index creation prevents ER_DUP_INDEX warning
--echo #
create table t1 (c point not null);
alter table t1 add spatial index b1(c desc);
alter table t1 add spatial index b2(c desc);
drop table t1;
--echo #
--echo # MDEV-23507 Wrong duplicate key value printed in ER_DUP_ENTRY
--echo #
create table t1 (a int) engine=myisam;
insert into t1 values (8);
insert into t1 select seq from seq_1_to_100;
--error ER_DUP_ENTRY
alter table t1 add unique (a);
alter table t1 engine=aria;
--error ER_DUP_ENTRY
alter table t1 add unique (a);
drop table t1;
--echo # End of 10.11 tests