diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-08-01 15:04:20 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-08-01 15:04:20 +0200 |
commit | 0b3eb4559bdb3c91b536c9fa56aa6b8931a3799b (patch) | |
tree | 6f8464f1fd9210ad335b1f8bec9b5bd198ad9ae9 /storage/xtradb/include/api0api.h | |
parent | 90849456d794aa6df32554a588da5db8cb15f5aa (diff) | |
download | mariadb-git-0b3eb4559bdb3c91b536c9fa56aa6b8931a3799b.tar.gz |
5.6.25-73.1
Diffstat (limited to 'storage/xtradb/include/api0api.h')
-rw-r--r-- | storage/xtradb/include/api0api.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/storage/xtradb/include/api0api.h b/storage/xtradb/include/api0api.h index d77d691becc..e4c9c941de5 100644 --- a/storage/xtradb/include/api0api.h +++ b/storage/xtradb/include/api0api.h @@ -1,6 +1,6 @@ /***************************************************************************** -Copyright (c) 2011, 2013, Oracle and/or its affiliates. All Rights Reserved. +Copyright (c) 2011, 2015, Oracle and/or its affiliates. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -494,6 +494,14 @@ ib_trx_state( /*=========*/ ib_trx_t ib_trx); /*!< in: trx handle */ + +/*****************************************************************//** +Check if the transaction is read_only */ +ib_u32_t +ib_trx_read_only( +/*=============*/ + ib_trx_t ib_trx); /*!< in: trx handle */ + /*****************************************************************//** Release the resources of the transaction. If the transaction was selected as a victim by InnoDB and rolled back then use this function |