mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
6fbc869d18
New mysqltest that can run mysqltest with PS Added support for ZEROFILL in PS Fixed crash when one called mysql_stmt_store_result() without a preceding mysql_stmt_bind_result() Updated test cases to support --ps-protocol (Some tests are still run using old protocol) Fixed crash in PS when using SELECT * FROM t1 NATURAL JOIN t2... Fixed crash in PS when using sub queries Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever" Fixed wrong permissions check in PS and multi-table updates (one could get permission denied for legal quries) Fix for PS and SELECT ... PROCEDURE Reset all warnings when executing a new PS query group_concat(...ORDER BY) didn't work with PS Fixed problem with test suite when not using innodb
23 lines
470 B
Text
23 lines
470 B
Text
#
|
|
# This test should fail as MyISAM doesn't have rollback
|
|
#
|
|
|
|
--disable_warnings
|
|
drop table if exists t1;
|
|
--enable_warnings
|
|
# PS doesn't work with BEGIN ... ROLLBACK
|
|
--disable_ps_protocol
|
|
|
|
create table t1 (n int not null primary key) engine=myisam;
|
|
begin work;
|
|
insert into t1 values (4);
|
|
insert into t1 values (5);
|
|
rollback;
|
|
select @@warning_count;
|
|
select @@error_count;
|
|
show warnings;
|
|
show errors;
|
|
select * from t1;
|
|
select @@warning_count;
|
|
show warnings;
|
|
drop table t1;
|