Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
7f3a2c37
Commit
7f3a2c37
authored
12 years ago
by
Konstantin Osipov
Browse files
Options
Downloads
Patches
Plain Diff
Move txn declaration to txn.h.
parent
c470f904
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mod/box/request.h
+1
-19
1 addition, 19 deletions
mod/box/request.h
mod/box/txn.h
+19
-1
19 additions, 1 deletion
mod/box/txn.h
with
20 additions
and
20 deletions
mod/box/request.h
+
1
−
19
View file @
7f3a2c37
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
mod/box/txn.h
+
19
−
1
View file @
7f3a2c37
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment