2014-07-27 21:02:00 +02:00
|
|
|
install plugin innodb soname 'ha_innodb';
|
|
|
|
Warnings:
|
|
|
|
Warning 1105 Cannot enable tc-log at run-time. XA features of InnoDB are disabled
|
|
|
|
select engine,support,transactions,xa from information_schema.engines where engine='innodb';
|
|
|
|
engine support transactions xa
|
|
|
|
InnoDB YES YES NO
|
2014-07-29 09:09:52 +02:00
|
|
|
create table t1 (a int) engine=innodb;
|
|
|
|
start transaction;
|
|
|
|
insert t1 values (1);
|
|
|
|
insert t1 values (2);
|
|
|
|
commit;
|
2014-08-07 18:06:56 +02:00
|
|
|
include/show_binlog_events.inc
|
2014-07-29 09:09:52 +02:00
|
|
|
Log_name Pos Event_type Server_id End_log_pos Info
|
2014-08-07 18:06:56 +02:00
|
|
|
mysqld-bin.000001 # Gtid # # GTID #-#-#
|
2014-07-29 09:09:52 +02:00
|
|
|
mysqld-bin.000001 # Query # # use `test`; create table t1 (a int) engine=innodb
|
2014-08-07 18:06:56 +02:00
|
|
|
mysqld-bin.000001 # Gtid # # BEGIN GTID #-#-#
|
2014-07-29 09:09:52 +02:00
|
|
|
mysqld-bin.000001 # Query # # use `test`; insert t1 values (1)
|
|
|
|
mysqld-bin.000001 # Query # # use `test`; insert t1 values (2)
|
|
|
|
mysqld-bin.000001 # Query # # COMMIT
|
|
|
|
drop table t1;
|
2014-07-27 21:02:00 +02:00
|
|
|
uninstall plugin innodb;
|