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
6a762592
Commit
6a762592
authored
Dec 05, 2007
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add c_pget to db.h addresses #107
git-svn-id:
file:///svn/tokudb@942
c7de825b-a66e-492c-adef-691d508d4ae1
parent
3e29f976
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
23 additions
and
6 deletions
+23
-6
buildheader/db.h_4_1
buildheader/db.h_4_1
+2
-1
buildheader/db.h_4_3
buildheader/db.h_4_3
+2
-1
buildheader/db.h_4_4
buildheader/db.h_4_4
+2
-1
buildheader/db.h_4_5
buildheader/db.h_4_5
+2
-1
buildheader/db.h_4_6
buildheader/db.h_4_6
+2
-1
buildheader/sample_offsets.c
buildheader/sample_offsets.c
+1
-0
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
buildheader/sample_offsets_64_4_1.h
buildheader/sample_offsets_64_4_1.h
+1
-0
buildheader/sample_offsets_64_4_3.h
buildheader/sample_offsets_64_4_3.h
+1
-0
buildheader/sample_offsets_64_4_4.h
buildheader/sample_offsets_64_4_4.h
+1
-0
buildheader/sample_offsets_64_4_5.h
buildheader/sample_offsets_64_4_5.h
+1
-0
buildheader/sample_offsets_64_4_6.h
buildheader/sample_offsets_64_4_6.h
+1
-0
include/db.h
include/db.h
+2
-1
No files found.
buildheader/db.h_4_1
View file @
6a762592
...
@@ -210,7 +210,8 @@ struct __toku_dbc {
...
@@ -210,7 +210,8 @@ struct __toku_dbc {
int (*c_del) (DBC *, u_int32_t); /* 32-bit offset=196 size=4, 64=bit offset=288 size=8 */
int (*c_del) (DBC *, u_int32_t); /* 32-bit offset=196 size=4, 64=bit offset=288 size=8 */
void* __toku_dummy3[1];
void* __toku_dummy3[1];
int (*c_get) (DBC *, DBT *, DBT *, u_int32_t); /* 32-bit offset=204 size=4, 64=bit offset=304 size=8 */
int (*c_get) (DBC *, DBT *, DBT *, u_int32_t); /* 32-bit offset=204 size=4, 64=bit offset=304 size=8 */
void* __toku_dummy4[11]; /* Padding at the end */
int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t); /* 32-bit offset=208 size=4, 64=bit offset=312 size=8 */
void* __toku_dummy4[10]; /* Padding at the end */
};
};
struct __toku_dbt {
struct __toku_dbt {
void*data; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
void*data; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
...
...
buildheader/db.h_4_3
View file @
6a762592
...
@@ -215,7 +215,8 @@ struct __toku_dbc {
...
@@ -215,7 +215,8 @@ struct __toku_dbc {
int (*c_del) (DBC *, u_int32_t); /* 32-bit offset=196 size=4, 64=bit offset=280 size=8 */
int (*c_del) (DBC *, u_int32_t); /* 32-bit offset=196 size=4, 64=bit offset=280 size=8 */
void* __toku_dummy3[1];
void* __toku_dummy3[1];
int (*c_get) (DBC *, DBT *, DBT *, u_int32_t); /* 32-bit offset=204 size=4, 64=bit offset=296 size=8 */
int (*c_get) (DBC *, DBT *, DBT *, u_int32_t); /* 32-bit offset=204 size=4, 64=bit offset=296 size=8 */
void* __toku_dummy4[10]; /* Padding at the end */
int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t); /* 32-bit offset=208 size=4, 64=bit offset=304 size=8 */
void* __toku_dummy4[9]; /* Padding at the end */
};
};
struct __toku_dbt {
struct __toku_dbt {
void*data; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
void*data; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
...
...
buildheader/db.h_4_4
View file @
6a762592
...
@@ -215,7 +215,8 @@ struct __toku_dbc {
...
@@ -215,7 +215,8 @@ struct __toku_dbc {
int (*c_del) (DBC *, u_int32_t); /* 32-bit offset=196 size=4, 64=bit offset=288 size=8 */
int (*c_del) (DBC *, u_int32_t); /* 32-bit offset=196 size=4, 64=bit offset=288 size=8 */
void* __toku_dummy3[1];
void* __toku_dummy3[1];
int (*c_get) (DBC *, DBT *, DBT *, u_int32_t); /* 32-bit offset=204 size=4, 64=bit offset=304 size=8 */
int (*c_get) (DBC *, DBT *, DBT *, u_int32_t); /* 32-bit offset=204 size=4, 64=bit offset=304 size=8 */
void* __toku_dummy4[10]; /* Padding at the end */
int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t); /* 32-bit offset=208 size=4, 64=bit offset=312 size=8 */
void* __toku_dummy4[9]; /* Padding at the end */
};
};
struct __toku_dbt {
struct __toku_dbt {
void*data; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
void*data; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
...
...
buildheader/db.h_4_5
View file @
6a762592
...
@@ -214,7 +214,8 @@ struct __toku_dbc {
...
@@ -214,7 +214,8 @@ struct __toku_dbc {
int (*c_del) (DBC *, u_int32_t); /* 32-bit offset=212 size=4, 64=bit offset=320 size=8 */
int (*c_del) (DBC *, u_int32_t); /* 32-bit offset=212 size=4, 64=bit offset=320 size=8 */
void* __toku_dummy3[1];
void* __toku_dummy3[1];
int (*c_get) (DBC *, DBT *, DBT *, u_int32_t); /* 32-bit offset=220 size=4, 64=bit offset=336 size=8 */
int (*c_get) (DBC *, DBT *, DBT *, u_int32_t); /* 32-bit offset=220 size=4, 64=bit offset=336 size=8 */
void* __toku_dummy4[10]; /* Padding at the end */
int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t); /* 32-bit offset=224 size=4, 64=bit offset=344 size=8 */
void* __toku_dummy4[9]; /* Padding at the end */
};
};
struct __toku_dbt {
struct __toku_dbt {
void*data; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
void*data; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
...
...
buildheader/db.h_4_6
View file @
6a762592
...
@@ -218,7 +218,8 @@ struct __toku_dbc {
...
@@ -218,7 +218,8 @@ struct __toku_dbc {
int (*c_del) (DBC *, u_int32_t); /* 32-bit offset=252 size=4, 64=bit offset=400 size=8 */
int (*c_del) (DBC *, u_int32_t); /* 32-bit offset=252 size=4, 64=bit offset=400 size=8 */
void* __toku_dummy3[1];
void* __toku_dummy3[1];
int (*c_get) (DBC *, DBT *, DBT *, u_int32_t); /* 32-bit offset=260 size=4, 64=bit offset=416 size=8 */
int (*c_get) (DBC *, DBT *, DBT *, u_int32_t); /* 32-bit offset=260 size=4, 64=bit offset=416 size=8 */
void* __toku_dummy4[10]; /* Padding at the end */
int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t); /* 32-bit offset=264 size=4, 64=bit offset=424 size=8 */
void* __toku_dummy4[9]; /* Padding at the end */
};
};
struct __toku_dbt {
struct __toku_dbt {
void*data; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
void*data; /* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
...
...
buildheader/sample_offsets.c
View file @
6a762592
...
@@ -159,6 +159,7 @@ void sample_dbc_offsets (void) {
...
@@ -159,6 +159,7 @@ void sample_dbc_offsets (void) {
STRUCT_SETUP
(
DBC
,
c_close
,
"int (*%s) (DBC *)"
);
STRUCT_SETUP
(
DBC
,
c_close
,
"int (*%s) (DBC *)"
);
STRUCT_SETUP
(
DBC
,
c_del
,
"int (*%s) (DBC *, u_int32_t)"
);
STRUCT_SETUP
(
DBC
,
c_del
,
"int (*%s) (DBC *, u_int32_t)"
);
STRUCT_SETUP
(
DBC
,
c_get
,
"int (*%s) (DBC *, DBT *, DBT *, u_int32_t)"
);
STRUCT_SETUP
(
DBC
,
c_get
,
"int (*%s) (DBC *, DBT *, DBT *, u_int32_t)"
);
STRUCT_SETUP
(
DBC
,
c_pget
,
"int (*%s) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
);
sort_and_dump_fields
(
"dbc"
,
sizeof
(
DBC
));
sort_and_dump_fields
(
"dbc"
,
sizeof
(
DBC
));
}
}
...
...
buildheader/sample_offsets_32_4_1.h
View file @
6a762592
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields32[] = {
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields32[] = {
{
"int (*c_close) (DBC *)"
,
188
,
4
},
{
"int (*c_close) (DBC *)"
,
188
,
4
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
196
,
4
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
196
,
4
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
204
,
4
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
204
,
4
},
{
"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
,
208
,
4
},
{
0
,
252
,
252
}
/* size of whole struct */
{
0
,
252
,
252
}
/* size of whole struct */
};
};
struct
fieldinfo
dbt_fields32
[]
=
{
struct
fieldinfo
dbt_fields32
[]
=
{
...
...
buildheader/sample_offsets_32_4_3.h
View file @
6a762592
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields32[] = {
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields32[] = {
{
"int (*c_close) (DBC *)"
,
188
,
4
},
{
"int (*c_close) (DBC *)"
,
188
,
4
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
196
,
4
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
196
,
4
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
204
,
4
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
204
,
4
},
{
"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
,
208
,
4
},
{
0
,
248
,
248
}
/* size of whole struct */
{
0
,
248
,
248
}
/* size of whole struct */
};
};
struct
fieldinfo
dbt_fields32
[]
=
{
struct
fieldinfo
dbt_fields32
[]
=
{
...
...
buildheader/sample_offsets_32_4_4.h
View file @
6a762592
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields32[] = {
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields32[] = {
{
"int (*c_close) (DBC *)"
,
188
,
4
},
{
"int (*c_close) (DBC *)"
,
188
,
4
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
196
,
4
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
196
,
4
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
204
,
4
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
204
,
4
},
{
"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
,
208
,
4
},
{
0
,
248
,
248
}
/* size of whole struct */
{
0
,
248
,
248
}
/* size of whole struct */
};
};
struct
fieldinfo
dbt_fields32
[]
=
{
struct
fieldinfo
dbt_fields32
[]
=
{
...
...
buildheader/sample_offsets_32_4_5.h
View file @
6a762592
...
@@ -81,6 +81,7 @@ struct fieldinfo dbc_fields32[] = {
...
@@ -81,6 +81,7 @@ struct fieldinfo dbc_fields32[] = {
{
"int (*c_close) (DBC *)"
,
204
,
4
},
{
"int (*c_close) (DBC *)"
,
204
,
4
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
212
,
4
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
212
,
4
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
220
,
4
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
220
,
4
},
{
"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
,
224
,
4
},
{
0
,
264
,
264
}
/* size of whole struct */
{
0
,
264
,
264
}
/* size of whole struct */
};
};
struct
fieldinfo
dbt_fields32
[]
=
{
struct
fieldinfo
dbt_fields32
[]
=
{
...
...
buildheader/sample_offsets_32_4_6.h
View file @
6a762592
...
@@ -81,6 +81,7 @@ struct fieldinfo dbc_fields32[] = {
...
@@ -81,6 +81,7 @@ struct fieldinfo dbc_fields32[] = {
{
"int (*c_close) (DBC *)"
,
244
,
4
},
{
"int (*c_close) (DBC *)"
,
244
,
4
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
252
,
4
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
252
,
4
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
260
,
4
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
260
,
4
},
{
"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
,
264
,
4
},
{
0
,
304
,
304
}
/* size of whole struct */
{
0
,
304
,
304
}
/* size of whole struct */
};
};
struct
fieldinfo
dbt_fields32
[]
=
{
struct
fieldinfo
dbt_fields32
[]
=
{
...
...
buildheader/sample_offsets_64_4_1.h
View file @
6a762592
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields64[] = {
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields64[] = {
{
"int (*c_close) (DBC *)"
,
272
,
8
},
{
"int (*c_close) (DBC *)"
,
272
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
288
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
288
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
304
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
304
,
8
},
{
"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
,
312
,
8
},
{
0
,
400
,
400
}
/* size of whole struct */
{
0
,
400
,
400
}
/* size of whole struct */
};
};
struct
fieldinfo
dbt_fields64
[]
=
{
struct
fieldinfo
dbt_fields64
[]
=
{
...
...
buildheader/sample_offsets_64_4_3.h
View file @
6a762592
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields64[] = {
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields64[] = {
{
"int (*c_close) (DBC *)"
,
264
,
8
},
{
"int (*c_close) (DBC *)"
,
264
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
280
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
280
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
296
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
296
,
8
},
{
"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
,
304
,
8
},
{
0
,
384
,
384
}
/* size of whole struct */
{
0
,
384
,
384
}
/* size of whole struct */
};
};
struct
fieldinfo
dbt_fields64
[]
=
{
struct
fieldinfo
dbt_fields64
[]
=
{
...
...
buildheader/sample_offsets_64_4_4.h
View file @
6a762592
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields64[] = {
...
@@ -82,6 +82,7 @@ struct fieldinfo dbc_fields64[] = {
{
"int (*c_close) (DBC *)"
,
272
,
8
},
{
"int (*c_close) (DBC *)"
,
272
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
288
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
288
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
304
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
304
,
8
},
{
"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
,
312
,
8
},
{
0
,
392
,
392
}
/* size of whole struct */
{
0
,
392
,
392
}
/* size of whole struct */
};
};
struct
fieldinfo
dbt_fields64
[]
=
{
struct
fieldinfo
dbt_fields64
[]
=
{
...
...
buildheader/sample_offsets_64_4_5.h
View file @
6a762592
...
@@ -81,6 +81,7 @@ struct fieldinfo dbc_fields64[] = {
...
@@ -81,6 +81,7 @@ struct fieldinfo dbc_fields64[] = {
{
"int (*c_close) (DBC *)"
,
304
,
8
},
{
"int (*c_close) (DBC *)"
,
304
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
320
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
320
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
336
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
336
,
8
},
{
"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
,
344
,
8
},
{
0
,
424
,
424
}
/* size of whole struct */
{
0
,
424
,
424
}
/* size of whole struct */
};
};
struct
fieldinfo
dbt_fields64
[]
=
{
struct
fieldinfo
dbt_fields64
[]
=
{
...
...
buildheader/sample_offsets_64_4_6.h
View file @
6a762592
...
@@ -81,6 +81,7 @@ struct fieldinfo dbc_fields64[] = {
...
@@ -81,6 +81,7 @@ struct fieldinfo dbc_fields64[] = {
{
"int (*c_close) (DBC *)"
,
384
,
8
},
{
"int (*c_close) (DBC *)"
,
384
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
400
,
8
},
{
"int (*c_del) (DBC *, u_int32_t)"
,
400
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
416
,
8
},
{
"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)"
,
416
,
8
},
{
"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)"
,
424
,
8
},
{
0
,
504
,
504
}
/* size of whole struct */
{
0
,
504
,
504
}
/* size of whole struct */
};
};
struct
fieldinfo
dbt_fields64
[]
=
{
struct
fieldinfo
dbt_fields64
[]
=
{
...
...
include/db.h
View file @
6a762592
...
@@ -215,7 +215,8 @@ struct __toku_dbc {
...
@@ -215,7 +215,8 @@ struct __toku_dbc {
int
(
*
c_del
)
(
DBC
*
,
u_int32_t
);
/* 32-bit offset=196 size=4, 64=bit offset=288 size=8 */
int
(
*
c_del
)
(
DBC
*
,
u_int32_t
);
/* 32-bit offset=196 size=4, 64=bit offset=288 size=8 */
void
*
__toku_dummy3
[
1
];
void
*
__toku_dummy3
[
1
];
int
(
*
c_get
)
(
DBC
*
,
DBT
*
,
DBT
*
,
u_int32_t
);
/* 32-bit offset=204 size=4, 64=bit offset=304 size=8 */
int
(
*
c_get
)
(
DBC
*
,
DBT
*
,
DBT
*
,
u_int32_t
);
/* 32-bit offset=204 size=4, 64=bit offset=304 size=8 */
void
*
__toku_dummy4
[
10
];
/* Padding at the end */
int
(
*
c_pget
)
(
DBC
*
,
DBT
*
,
DBT
*
,
DBT
*
,
u_int32_t
);
/* 32-bit offset=208 size=4, 64=bit offset=312 size=8 */
void
*
__toku_dummy4
[
9
];
/* Padding at the end */
};
};
struct
__toku_dbt
{
struct
__toku_dbt
{
void
*
data
;
/* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
void
*
data
;
/* 32-bit offset=0 size=4, 64=bit offset=0 size=8 */
...
...
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