1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-30 05:23:50 +03:00

Make db_create work under c++. Addresses #197.

git-svn-id: file:///svn/tokudb@1194 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Bradley C. Kuszmaul
2007-12-18 16:22:21 +00:00
parent b817a0e06c
commit 37b42e21ea
9 changed files with 165 additions and 11 deletions

View File

@@ -5,6 +5,13 @@ Dbt::Dbt(void) {
memset(dbt, 0, sizeof(*dbt));
}
Dbt::Dbt(void *data, u_int32_t size) {
DBT *dbt = this;
memset(dbt, 0, sizeof(*dbt));
set_data(data);
set_size(size);
}
Dbt::~Dbt(void)
{
}