mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
d6d63f4844
Make all system tables in mysql directory of type engine=Aria Privilege tables are using transactional=1 Statistical tables are using transactional=0, to allow them to be quickly updated with low overhead. Help tables are also using transactional=0 as these are only updated at init time. Other changes: - Aria store engine is now a required engine - Update comment for Aria tables to reflect their new usage - Fixed that _ma_reset_trn_for_table() removes unlocked table from transaction table list. This was needed to allow one to lock and unlock system tables separately from other tables, for example when reading a procedure from mysql.proc - Don't give a warning when using transactional=1 for engines that is using transactions. This is both logical and also to avoid warnings/errors when doing an alter of a privilege table to InnoDB. - Don't abort on warnings from ALTER TABLE for changes that would be accepted by CREATE TABLE. - New created Aria transactional tables are marked as not movable (as they include create_rename_lsn). - bootstrap.test was changed to kill orignal server, as one can't anymore have two servers started at same time on same data directory and data files. - Disable maria.small_blocksize as one can't anymore change aria block size after system tables are created. - Speed up creation of help tables by using lock tables. - wsrep_sst_resync now also copies Aria redo logs.
31 lines
676 B
Text
31 lines
676 B
Text
drop table if exists t1;
|
|
# Kill the server
|
|
drop table t1;
|
|
# Kill the server
|
|
drop table t1;
|
|
ERROR 42S02: Unknown table 'test.t1'
|
|
# Kill the server
|
|
drop table t1;
|
|
End of 5.1 tests
|
|
#
|
|
# Bug #11766306: 59393: HAVE_INNODB=YES WHEN MYSQLD
|
|
# STARTED WITH --SKIP-INNODB
|
|
#
|
|
SELECT 'bug' as '' FROM INFORMATION_SCHEMA.ENGINES WHERE engine='innodb'
|
|
and SUPPORT='YES';
|
|
|
|
# Kill the server
|
|
End of 5.5 tests
|
|
# Kill the server
|
|
flush tables;
|
|
show create table t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`a` int(11) DEFAULT NULL
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
|
drop table t1;
|
|
select * from mysql.plugin;
|
|
name dl
|
|
EXAMPLE ha_example.so
|
|
truncate table mysql.plugin;
|
|
# Kill the server
|