mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Merge heikki@bk-internal.mysql.com:/home/bk/mysql-5.0
into hundin.mysql.fi:/home/heikki/mysql-5.0 sql/ha_innodb.cc: Auto merged
This commit is contained in:
@@ -6315,6 +6315,14 @@ innobase_xa_prepare(
|
|||||||
/* We were instructed to prepare the whole transaction, or
|
/* We were instructed to prepare the whole transaction, or
|
||||||
this is an SQL statement end and autocommit is on */
|
this is an SQL statement end and autocommit is on */
|
||||||
|
|
||||||
|
/* If there is no active InnoDB transaction,
|
||||||
|
trx_prepare_for_mysql() will (temporarily) start one */
|
||||||
|
|
||||||
|
if (trx->active_trans == 0) {
|
||||||
|
|
||||||
|
trx->active_trans = 1;
|
||||||
|
}
|
||||||
|
|
||||||
error = trx_prepare_for_mysql(trx);
|
error = trx_prepare_for_mysql(trx);
|
||||||
} else {
|
} else {
|
||||||
/* We just mark the SQL statement ended and do not do a
|
/* We just mark the SQL statement ended and do not do a
|
||||||
|
Reference in New Issue
Block a user