mariadb/newbrt/includes.h
Leif Walsh fd11871393 [t:4241] use DBTs instead of kv_pairs. closes #4241
removes kv-pair.h completely. now childkeys are DBTs.

two new DBT functions help this. toku_clone_dbt memdup's the data.
toku_copyref_dbt steals the existing data and does not malloc.


git-svn-id: file:///svn/toku/tokudb@43495 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00

59 lines
1.4 KiB
C

#ifndef SYSINCLUDES_H
#define SYSINCLUDES_H
#ident "$Id$"
#ident "Copyright (c) 2007-2010 Tokutek Inc. All rights reserved."
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
#include <config.h>
// Portability first!
#include <toku_portability.h>
#if TOKU_WINDOWS
#include "toku_pthread.h"
#include <dirent.h>
#else
#include <dirent.h>
#include <inttypes.h>
#include <toku_pthread.h>
#include <sys/file.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <unistd.h>
#endif
#include <ctype.h>
#include <errno.h>
#if defined(HAVE_MALLOC_H)
# include <malloc.h>
#elif defined(HAVE_SYS_MALLOC_H)
# include <sys/malloc.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "block_allocator.h"
#include "brt.h"
#include "brt_header.h"
#include "brt-internal.h"
#include "cachetable.h"
#include "rwlock.h"
#include "fifo.h"
#include "toku_list.h"
#include "key.h"
#include "leafentry.h"
#include "log-internal.h"
#include "log_header.h"
#include "logcursor.h"
#include "logfilemgr.h"
#include "rbuf.h"
#include "threadpool.h"
#include "toku_assert.h"
#include "wbuf.h"
#include <db.h>
#include "tokuconst.h"
#endif