Commit 1f5d3019 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

include stdint.h before db.h. addresses #1032

git-svn-id: file:///svn/toku/tokudb.1032b@7844 c7de825b-a66e-492c-adef-691d508d4ae1
parent 37d8fe77
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
* big child commits, parent commits * big child commits, parent commits
*/ */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
* big child commits, parent commits * big child commits, parent commits
*/ */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
* big child commits, parent commits * big child commits, parent commits
*/ */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
* big child commits, parent commits (This test) * big child commits, parent commits (This test)
*/ */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2008 Tokutek Inc. All rights reserved."
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2008 Tokutek Inc. All rights reserved."
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2008 Tokutek Inc. All rights reserved."
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2008 Tokutek Inc. All rights reserved."
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
......
/* How fast can we do insertions when there are many files? */ /* How fast can we do insertions when there are many files? */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
* big child commits, parent commits (This test) * big child commits, parent commits (This test)
*/ */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* A simple case to see if recovery works. */ /* A simple case to see if recovery works. */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
/* A simple case to see if recovery works. */ /* A simple case to see if recovery works. */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
// run recovery. // run recovery.
// Verify that the data is present. // Verify that the data is present.
#include <stdint.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
* Make sure those middle things made it back into the tree. * Make sure those middle things made it back into the tree.
*/ */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
*/ */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* Also if we've deleted a lot of stuff, so that the first good thing is not on the first page. * Also if we've deleted a lot of stuff, so that the first good thing is not on the first page.
*/ */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* Test log archive. */ /* Test log archive. */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* Test log archive. */ /* Test log archive. */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* Test log archive. */ /* Test log archive. */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <inttypes.h> #include <inttypes.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
......
/* Primary with two associated things. */ /* Primary with two associated things. */
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
/* Primary with two associated things. */ /* Primary with two associated things. */
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
......
/* Primary with two associated things. */ /* Primary with two associated things. */
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
int main() { int main() {
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <limits.h> #include <limits.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
// One must actually create a DB I think... // One must actually create a DB I think...
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <string.h> #include <string.h>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <string.h> #include <string.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <stdint.h>
#include <db.h> #include <db.h>
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <stdint.h>
#include <db.h> #include <db.h>
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "portability.h" #include "portability.h"
#include <stdint.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* The issue is that things might look OK before the commit, but bad after the commit. * The issue is that things might look OK before the commit, but bad after the commit.
*/ */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
* test_dupsort_del.c notices that the wrong thing is being saved. * test_dupsort_del.c notices that the wrong thing is being saved.
*/ */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <assert.h> #include <assert.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
/* Test to see if DB->get works on a zeroed DBT. */ /* Test to see if DB->get works on a zeroed DBT. */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
/* Test by counting the fsyncs, to see if group commit is working. */ /* Test by counting the fsyncs, to see if group commit is working. */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <toku_pthread.h> #include <toku_pthread.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
/* Test using performance metrics only, to see if group commit is working. */ /* Test using performance metrics only, to see if group commit is working. */
#include <stdint.h>
#include <db.h> #include <db.h>
#include <toku_pthread.h> #include <toku_pthread.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdint.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment