mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
a01a0840dc
Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables. Better fix for ALTER TABLE on BDB tables.
13 lines
507 B
Text
13 lines
507 B
Text
#
|
|
# Test of problem when shutting down mysqld at once after ALTER TABLE
|
|
#
|
|
-- source include/have_bdb.inc
|
|
drop table if exists t1;
|
|
create table t1(objid BIGINT not null, tablename varchar(64), oid BIGINT not null, test BIGINT, PRIMARY KEY (objid), UNIQUE(tablename)) type=BDB;
|
|
insert into t1 values(1, 't1',4,9);
|
|
insert into t1 values(2, 'metatable',1,9);
|
|
insert into t1 values(3, 'metaindex',1,9 );
|
|
select * from t1;
|
|
alter table t1 drop column test;
|
|
|
|
# Now we do a reboot and continue with the next test
|