mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Merge with 4.0.13
This commit is contained in:
@@ -218,8 +218,12 @@ void ha_close_connection(THD* thd)
|
||||
}
|
||||
|
||||
/*
|
||||
This is used to commit or rollback a single statement depending
|
||||
on the value of error
|
||||
This is used to commit or rollback a single statement depending on the value
|
||||
of error. Note that if the autocommit is on, then the following call inside
|
||||
InnoDB will commit or rollback the whole transaction (= the statement). The
|
||||
autocommit mechanism built into InnoDB is based on counting locks, but if
|
||||
the user has used LOCK TABLES then that mechanism does not know to do the
|
||||
commit.
|
||||
*/
|
||||
|
||||
int ha_autocommit_or_rollback(THD *thd, int error)
|
||||
|
||||
Reference in New Issue
Block a user