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
91f3a59c
Commit
91f3a59c
authored
Aug 20, 2007
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get the bound pma
git-svn-id:
file:///svn/tokudb@158
c7de825b-a66e-492c-adef-691d508d4ae1
parent
c01cfadb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
newbrt/pma.c
newbrt/pma.c
+5
-0
newbrt/pma.h
newbrt/pma.h
+7
-0
No files found.
newbrt/pma.c
View file @
91f3a59c
...
@@ -370,6 +370,11 @@ int pma_cursor (PMA pma, PMA_CURSOR *cursp) {
...
@@ -370,6 +370,11 @@ int pma_cursor (PMA pma, PMA_CURSOR *cursp) {
return
0
;
return
0
;
}
}
int
pma_cursor_get_pma
(
PMA_CURSOR
c
,
PMA
*
pmap
)
{
*
pmap
=
c
->
pma
;
return
0
;
}
int
pma_cursor_set_position_last
(
PMA_CURSOR
c
)
int
pma_cursor_set_position_last
(
PMA_CURSOR
c
)
{
{
PMA
pma
=
c
->
pma
;
PMA
pma
=
c
->
pma
;
...
...
newbrt/pma.h
View file @
91f3a59c
...
@@ -71,6 +71,13 @@ int pma_bulk_insert(PMA pma, DBT *keys, DBT *vals, int n_newpairs);
...
@@ -71,6 +71,13 @@ int pma_bulk_insert(PMA pma, DBT *keys, DBT *vals, int n_newpairs);
int
pma_cursor
(
PMA
,
PMA_CURSOR
*
);
int
pma_cursor
(
PMA
,
PMA_CURSOR
*
);
int
pma_cursor_free
(
PMA_CURSOR
*
);
int
pma_cursor_free
(
PMA_CURSOR
*
);
/*
* get the pma that a pma cursor is bound to
*
* c - the pma cursor
* pma - the location that the bound pma is returned
*/
int
pma_cursor_get_pma
(
PMA_CURSOR
c
,
PMA
*
pma
);
int
pma_cursor_set_position_last
(
PMA_CURSOR
c
);
int
pma_cursor_set_position_last
(
PMA_CURSOR
c
);
int
pma_cursor_set_position_first
(
PMA_CURSOR
c
);
int
pma_cursor_set_position_first
(
PMA_CURSOR
c
);
int
pma_cursor_set_position_next
(
PMA_CURSOR
c
);
/* Requires the cursor is init'd. Returns DB_NOTFOUND if we fall off the end. */
int
pma_cursor_set_position_next
(
PMA_CURSOR
c
);
/* Requires the cursor is init'd. Returns DB_NOTFOUND if we fall off the end. */
...
...
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