Skip to content
Snippets Groups Projects
Commit 7f3a2c37 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Move txn declaration to txn.h.

parent c470f904
No related branches found
No related tags found
No related merge requests found
......@@ -40,25 +40,7 @@ enum {
@class Index;
struct tarantool_cfg;
struct tuple;
struct port;
struct space;
struct txn {
u16 type;
u32 flags;
struct lua_State *L;
struct port *port;
struct space *space;
Index *index;
struct tbuf *ref_tuples;
struct tuple *old_tuple;
struct tuple *new_tuple;
struct tuple *lock_tuple;
struct tbuf req;
};
struct txn;
#define BOX_RETURN_TUPLE 0x01
#define BOX_ADD 0x02
......
......@@ -29,8 +29,26 @@
* SUCH DAMAGE.
*/
#include <fiber.h>
struct txn;
struct tuple;
@class Index;
struct txn {
u16 type;
u32 flags;
struct lua_State *L;
struct port *port;
struct space *space;
Index *index;
struct tbuf *ref_tuples;
struct tuple *old_tuple;
struct tuple *new_tuple;
struct tuple *lock_tuple;
struct tbuf req;
};
/** tuple's flags */
enum tuple_flags {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment