Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
512b7013
Commit
512b7013
authored
Dec 21, 2007
by
Bradley C. Kuszmaul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mgrp to dbtxn. Addresses #215.
git-svn-id:
file:///svn/tokudb@1317
c7de825b-a66e-492c-adef-691d508d4ae1
parent
6198e6f5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
1 deletion
+7
-1
buildheader/sample_offsets.c
buildheader/sample_offsets.c
+2
-1
buildheader/sample_offsets_32_4_1.h
buildheader/sample_offsets_32_4_1.h
+1
-0
buildheader/sample_offsets_32_4_3.h
buildheader/sample_offsets_32_4_3.h
+1
-0
buildheader/sample_offsets_32_4_4.h
buildheader/sample_offsets_32_4_4.h
+1
-0
buildheader/sample_offsets_32_4_5.h
buildheader/sample_offsets_32_4_5.h
+1
-0
buildheader/sample_offsets_32_4_6.h
buildheader/sample_offsets_32_4_6.h
+1
-0
No files found.
buildheader/sample_offsets.c
View file @
512b7013
...
...
@@ -153,10 +153,11 @@ void sample_db_txn_active_offsets (void) {
void
sample_db_txn_offsets
(
void
)
{
field_counter
=
0
;
STRUCT_SETUP
(
DB_TXN
,
abort
,
"int (*%s) (DB_TXN *)"
);
STRUCT_SETUP
(
DB_TXN
,
api_internal
,
"void *%s"
);
STRUCT_SETUP
(
DB_TXN
,
commit
,
"int (*%s) (DB_TXN*, u_int32_t)"
);
STRUCT_SETUP
(
DB_TXN
,
id
,
"u_int32_t (*%s) (DB_TXN *)"
);
STRUCT_SETUP
(
DB_TXN
,
abort
,
"int (*%s) (DB_TXN *)
"
);
STRUCT_SETUP
(
DB_TXN
,
mgrp
,
"DB_ENV *%s /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/
"
);
sort_and_dump_fields
(
"db_txn"
,
sizeof
(
DB_TXN
));
}
...
...
buildheader/sample_offsets_32_4_1.h
View file @
512b7013
...
...
@@ -72,6 +72,7 @@ struct fieldinfo db_txn_active_fields32[] = {
{
0
,
16
,
16
}
/* size of whole struct */
};
struct
fieldinfo
db_txn_fields32
[]
=
{
{
"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/"
,
0
,
4
},
{
"void *api_internal"
,
68
,
4
},
{
"int (*abort) (DB_TXN *)"
,
76
,
4
},
{
"int (*commit) (DB_TXN*, u_int32_t)"
,
80
,
4
},
...
...
buildheader/sample_offsets_32_4_3.h
View file @
512b7013
...
...
@@ -76,6 +76,7 @@ struct fieldinfo db_txn_active_fields32[] = {
{
0
,
148
,
148
}
/* size of whole struct */
};
struct
fieldinfo
db_txn_fields32
[]
=
{
{
"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/"
,
0
,
4
},
{
"void *api_internal"
,
88
,
4
},
{
"int (*abort) (DB_TXN *)"
,
100
,
4
},
{
"int (*commit) (DB_TXN*, u_int32_t)"
,
104
,
4
},
...
...
buildheader/sample_offsets_32_4_4.h
View file @
512b7013
...
...
@@ -76,6 +76,7 @@ struct fieldinfo db_txn_active_fields32[] = {
{
0
,
208
,
208
}
/* size of whole struct */
};
struct
fieldinfo
db_txn_fields32
[]
=
{
{
"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/"
,
0
,
4
},
{
"void *api_internal"
,
84
,
4
},
{
"int (*abort) (DB_TXN *)"
,
96
,
4
},
{
"int (*commit) (DB_TXN*, u_int32_t)"
,
100
,
4
},
...
...
buildheader/sample_offsets_32_4_5.h
View file @
512b7013
...
...
@@ -75,6 +75,7 @@ struct fieldinfo db_txn_active_fields32[] = {
{
0
,
224
,
224
}
/* size of whole struct */
};
struct
fieldinfo
db_txn_fields32
[]
=
{
{
"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/"
,
0
,
4
},
{
"void *api_internal"
,
84
,
4
},
{
"int (*abort) (DB_TXN *)"
,
96
,
4
},
{
"int (*commit) (DB_TXN*, u_int32_t)"
,
100
,
4
},
...
...
buildheader/sample_offsets_32_4_6.h
View file @
512b7013
...
...
@@ -75,6 +75,7 @@ struct fieldinfo db_txn_active_fields32[] = {
{
0
,
224
,
224
}
/* size of whole struct */
};
struct
fieldinfo
db_txn_fields32
[]
=
{
{
"DB_ENV *mgrp /*In TokuDB, mgrp is a DB_ENV not a DB_TXNMGR*/"
,
0
,
4
},
{
"void *api_internal"
,
88
,
4
},
{
"int (*abort) (DB_TXN *)"
,
100
,
4
},
{
"int (*commit) (DB_TXN*, u_int32_t)"
,
104
,
4
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment