Comment 5 for bug 1204353

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Reproduce with 5.5.35

mysql> create table t2(a int);
Query OK, 0 rows affected (0.02 sec)

mysql> commit;
Query OK, 0 rows affected (0.00 sec)

mysql>
mysql> xa start 'test';
Query OK, 0 rows affected (0.00 sec)

mysql> insert into t2 values (1);
Query OK, 1 row affected (0.00 sec)

mysql> xa end 'test';
Query OK, 0 rows affected (0.00 sec)

mysql> xa prepare 'test';
Query OK, 0 rows affected (0.01 sec)

mysql> Ctrl-C -- exit!
Aborted
root@Nil-Dell-XPS:/var/lib/mysql# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 41
Server version: 5.5.35-33.0 Percona Server (GPL), Release 33.0

Copyright (c) 2009-2013 Percona LLC and/or its affiliates
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> xa recover;
Empty set (0.00 sec)

mysql>