blob: 0ee6a69c487d3b6bfd4ad03e18194fd6518bd144 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Tests which cannot be run in embedded server.
-- source include/not_embedded.inc
-- source include/have_maria.inc
let $default_engine=`select @@session.storage_engine`;
set session storage_engine=maria;
# Verify that INSERT DELAYED is disabled only for transactional tables
# ("embedded" server translates them to plain INSERT)
create table t1 (a int) row_format=page;
--error ER_ILLEGAL_HA
insert delayed into t1 values(1);
drop table t1;
create table t1 (a int) row_format=page transactional=0;
insert delayed into t1 values(1);
flush table t1;
select * from t1;
select count(*) from t1;
drop table t1;
create table t1 (a int) row_format=dynamic;
insert delayed into t1 values(1);
flush table t1;
select * from t1;
select count(*) from t1;
drop table t1;
--disable_result_log
--disable_query_log
eval set session storage_engine=$default_engine;
--enable_result_log
--enable_query_log
|