mirror of
https://github.com/MariaDB/server.git
synced 2025-11-30 05:23:50 +03:00
We have a basic C++ interface. I'm going to call this finished, until we find out that more is needed. Fixes #197.
git-svn-id: file:///svn/tokudb@1214 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
13
cxx/dbc.cpp
Normal file
13
cxx/dbc.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "db_cxx.h"
|
||||
|
||||
int Dbc::close (void) {
|
||||
DBC *dbc = this;
|
||||
int ret = dbc->c_close(dbc);
|
||||
return ret;
|
||||
}
|
||||
|
||||
int Dbc::get(Dbt* key, Dbt *data, u_int32_t flags) {
|
||||
DBC *dbc = this;
|
||||
int ret = dbc->c_get(dbc, key, data, flags);
|
||||
return ret;
|
||||
}
|
||||
Reference in New Issue
Block a user