mirror of
https://github.com/MariaDB/server.git
synced 2025-03-08 04:03:30 +01:00
17 lines
253 B
C++
17 lines
253 B
C++
#include <db_cxx.h>
|
|
|
|
Dbt::Dbt(void) {
|
|
DBT *dbt = this;
|
|
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)
|
|
{
|
|
}
|