Commit b7867800 authored by Yoni Fogel's avatar Yoni Fogel

Addresses #1032, #1343

All src/tests now have the following first 3 lines:
1- Modeline
2- Ident
3- include test.h
(test.h includes toku_portability.h immediately after modeline and ident)

Only one include for test.h, and no (direct) includes for toku_portability.h

git-svn-id: file:///svn/toku/tokudb@8713 c7de825b-a66e-492c-adef-691d508d4ae1
parent 521e2181
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test to see if a big nested transaction (so big that it's rollbacks spill into a file) /* Test to see if a big nested transaction (so big that it's rollbacks spill into a file)
* can commit properly. * can commit properly.
* Four Tests: * Four Tests:
...@@ -9,10 +10,8 @@ ...@@ -9,10 +10,8 @@
* big child commits, parent commits * big child commits, parent commits
*/ */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
int N = 50000; int N = 50000;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test to see if a big nested transaction (so big that it's rollbacks spill into a file) /* Test to see if a big nested transaction (so big that it's rollbacks spill into a file)
* can commit properly. * can commit properly.
* Four Tests: * Four Tests:
...@@ -9,10 +10,8 @@ ...@@ -9,10 +10,8 @@
* big child commits, parent commits * big child commits, parent commits
*/ */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
int N = 50000; int N = 50000;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test to see if a big nested transaction (so big that it's rollbacks spill into a file) /* Test to see if a big nested transaction (so big that it's rollbacks spill into a file)
* can commit properly. * can commit properly.
* Four Tests: * Four Tests:
...@@ -9,10 +10,8 @@ ...@@ -9,10 +10,8 @@
* big child commits, parent commits * big child commits, parent commits
*/ */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
int N = 50000; int N = 50000;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test to see if a big nested transaction (so big that it's rollbacks spill into a file) /* Test to see if a big nested transaction (so big that it's rollbacks spill into a file)
* can commit properly. * can commit properly.
* Four Tests: * Four Tests:
...@@ -9,10 +10,8 @@ ...@@ -9,10 +10,8 @@
* big child commits, parent commits (This test) * big child commits, parent commits (This test)
*/ */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* See #627. */ /* See #627. */
#include "test.h"
#include <sys/stat.h> #include <sys/stat.h>
#include <memory.h> #include <memory.h>
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <toku_portability.h> #include "test.h"
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <toku_portability.h> #include "test.h"
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
// The helgrind1.tdbrun test should fail. This is merely a check to verify that helgrind actually notices a race. // The helgrind1.tdbrun test should fail. This is merely a check to verify that helgrind actually notices a race.
#include <assert.h> #include <assert.h>
#include <pthread.h> #include <pthread.h>
#include "test.h"
int x; int x;
void *starta(void* ignore __attribute__((__unused__))) { void *starta(void* ignore __attribute__((__unused__))) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
// The helgrind2 test performs a DB->get() in two different concurrent threads. // The helgrind2 test performs a DB->get() in two different concurrent threads.
#include <arpa/inet.h> #include <arpa/inet.h>
#include <assert.h> #include <assert.h>
...@@ -8,7 +9,6 @@ ...@@ -8,7 +9,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include "test.h"
DB_ENV *env; DB_ENV *env;
DB *db; DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
// The helgrind2 test performs a DB->get() in two different concurrent threads. // The helgrind2 test performs a DB->get() in two different concurrent threads.
#include <arpa/inet.h> #include <arpa/inet.h>
#include <assert.h> #include <assert.h>
...@@ -8,7 +9,6 @@ ...@@ -8,7 +9,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include "test.h"
DB_ENV *env; DB_ENV *env;
DB *db; DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #include "test.h"
#include <assert.h> #include <assert.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB_TXN *txn = 0; static DB_TXN *txn = 0;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #include "test.h"
#include <assert.h> #include <assert.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB_TXN *txn = 0; static DB_TXN *txn = 0;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #include "test.h"
#include <assert.h> #include <assert.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB_TXN *txn = 0; static DB_TXN *txn = 0;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #include "test.h"
#include <assert.h> #include <assert.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB_TXN *txn = 0; static DB_TXN *txn = 0;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* How fast can we do insertions when there are many files? */ /* How fast can we do insertions when there are many files? */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
#define NFILES 1000 #define NFILES 1000
#define NINSERTS_PER 1000 #define NINSERTS_PER 1000
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test to see if a medium-size nested transaction (the nested pieces are not too big, but the whole thing is so big that it's rollbacks spill into a file) /* Test to see if a medium-size nested transaction (the nested pieces are not too big, but the whole thing is so big that it's rollbacks spill into a file)
* can commit properly. * can commit properly.
* Four Tests: * Four Tests:
...@@ -9,10 +10,8 @@ ...@@ -9,10 +10,8 @@
* big child commits, parent commits (This test) * big child commits, parent commits (This test)
*/ */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* A simple case to see if recovery works. */ /* A simple case to see if recovery works. */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include "test.h"
static void test (void) { static void test (void) {
int r; int r;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* A simple case to see if recovery works. */ /* A simple case to see if recovery works. */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include "test.h"
static void test (void) { static void test (void) {
int r; int r;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
// A simple case to see if recovery works. // A simple case to see if recovery works.
// Create a file (foo.db) in a transaction and commit. // Create a file (foo.db) in a transaction and commit.
// Insert some random key-value pairs in a transaciton an dcommit. // Insert some random key-value pairs in a transaciton an dcommit.
...@@ -7,14 +8,12 @@ ...@@ -7,14 +8,12 @@
// run recovery. // run recovery.
// Verify that the data is present. // Verify that the data is present.
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include "test.h"
static void test (void) { static void test (void) {
int r; int r;
......
#include "toku_portability.h" /* -*- mode: C; c-basic-offset: 4 -*- */
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <toku_portability.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <toku_portability.h> #include "test.h"
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
unsigned char N=5; unsigned char N=5;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <toku_portability.h> #include "test.h"
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
DB_ENV *env; DB_ENV *env;
DB *db; DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <toku_portability.h> #include "test.h"
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
unsigned char N=5; unsigned char N=5;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <toku_portability.h> #include "test.h"
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
unsigned char N=8; unsigned char N=8;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <toku_portability.h> #include "test.h"
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
unsigned char N=8; unsigned char N=8;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <memory.h> #include <memory.h>
#include "test.h"
static void static void
test_789(void) { test_789(void) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <memory.h> #include <memory.h>
#include "test.h"
static void static void
testit (const int klen, const int vlen, const int n, const int lastvlen) { testit (const int klen, const int vlen, const int n, const int lastvlen) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Simple test of logging. Can I start a TokuDB with logging enabled? */ /* Simple test of logging. Can I start a TokuDB with logging enabled? */
#include <assert.h> #include <assert.h>
...@@ -8,12 +8,10 @@ ...@@ -8,12 +8,10 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <memory.h> #include <memory.h>
#include <stdio.h> #include <stdio.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Put some insert messages into an internal buffer (by first creating a DB, filling it up, then closing it, and reopening, and inserting a few things) /* Put some insert messages into an internal buffer (by first creating a DB, filling it up, then closing it, and reopening, and inserting a few things)
* Then perform a transaction that overwrites some of those internal things. * Then perform a transaction that overwrites some of those internal things.
* Then abort the transaction. * Then abort the transaction.
* Make sure those middle things made it back into the tree. * Make sure those middle things made it back into the tree.
*/ */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Try to exercise all the cases for the leafcommands in brt.c /* Try to exercise all the cases for the leafcommands in brt.c
*/ */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test what happens if we have deleted the first thing in the database. /* Test what happens if we have deleted the first thing in the database.
* Also the last. * Also the last.
* 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 <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test log archive. */ /* Test log archive. */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test log archive. */ /* Test log archive. */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <memory.h> #include <memory.h>
#include "test.h"
int int
test_main (int argc, const char *argv[]) { test_main (int argc, const char *argv[]) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test log archive. */ /* Test log archive. */
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
int int
test_main (int argc, const char *argv[]) { test_main (int argc, const char *argv[]) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <inttypes.h> #include <inttypes.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static u_int64_t static u_int64_t
size_from (u_int32_t gbytes, u_int32_t bytes) { size_from (u_int32_t gbytes, u_int32_t bytes) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
test_cursor (void) { test_cursor (void) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
// Verify that different cursors return different data items when DBT is given no flags. // Verify that different cursors return different data items when DBT is given no flags.
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -11,10 +11,8 @@ ...@@ -11,10 +11,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
verify_distinct_pointers (void **ptrs, int n) { verify_distinct_pointers (void **ptrs, int n) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static DBC* cursor = NULL; static DBC* cursor = NULL;
static DB* db = NULL; static DB* db = NULL;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,11 +8,9 @@ ...@@ -8,11 +8,9 @@
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <memory.h> #include <memory.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
db_put (DB *db, int k, int v) { db_put (DB *db, int k, int v) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
cursor_expect (DBC *cursor, int k, int v, int op) { cursor_expect (DBC *cursor, int k, int v, int op) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#ident "Copyright (c) 2007,2008 Tokutek Inc. All rights reserved." #include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static DB_ENV *dbenv; static DB_ENV *dbenv;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#ident "Copyright (c) 2007,2008 Tokutek Inc. All rights reserved." #include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static DB_ENV *dbenv; static DB_ENV *dbenv;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
test_cursor_flags (int cursor_flags, int expectr) { test_cursor_flags (int cursor_flags, int expectr) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
expect_cursor_get (DBC *cursor, int k, int v, int op) { expect_cursor_get (DBC *cursor, int k, int v, int op) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Primary with two associated things. */ /* Primary with two associated things. */
#include <assert.h> #include <assert.h>
...@@ -8,9 +9,7 @@ ...@@ -8,9 +9,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include "test.h"
enum mode { enum mode {
MODE_DEFAULT, MODE_DB_CREATE, MODE_MORE MODE_DEFAULT, MODE_DB_CREATE, MODE_MORE
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Can I close a db without opening it? */ /* Can I close a db without opening it? */
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* DB_CURRENT */ /* DB_CURRENT */
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Primary with two associated things. */ /* Primary with two associated things. */
#include <assert.h> #include <assert.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <memory.h> #include <memory.h>
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <unistd.h> #include <unistd.h>
#include <ctype.h> #include <ctype.h>
#include "test.h"
static int oppass,opnum; static int oppass,opnum;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Primary with two associated things. */ /* Primary with two associated things. */
#include <assert.h> #include <assert.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include "test.h"
static enum mode { static enum mode {
MODE_DEFAULT, MODE_MORE MODE_DEFAULT, MODE_MORE
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
#ifdef USE_TDB #ifdef USE_TDB
enum {INFLATE=128}; enum {INFLATE=128};
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
int int
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
// make stdlib define unsetenv() // make stdlib define unsetenv()
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
...@@ -13,7 +12,6 @@ ...@@ -13,7 +12,6 @@
#include <limits.h> #include <limits.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <toku_portability.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 <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
// Try to open an environment where the directory does not exist // Try to open an environment where the directory does not exist
// Try when the dir exists but is not an initialized env // Try when the dir exists but is not an initialized env
// Try when the dir exists and we do DB_CREATE: it should work. // Try when the dir exists and we do DB_CREATE: it should work.
...@@ -12,7 +11,6 @@ ...@@ -12,7 +11,6 @@
// One must actually create a DB I think... // One must actually create a DB I think...
#include <assert.h> #include <assert.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <toku_portability.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 <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <errno.h> #include <errno.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <toku_portability.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 <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <toku_portability.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 <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <toku_portability.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 <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Do I return EINVAL when passing in NULL for something that would otherwise be strdup'd? */ /* Do I return EINVAL when passing in NULL for something that would otherwise be strdup'd? */
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
int int
test_main (int UU(argc), const char UU(*argv[])) { test_main (int UU(argc), const char UU(*argv[])) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Simple test of logging. Can I start a TokuDB with logging enabled? */ /* Simple test of logging. Can I start a TokuDB with logging enabled? */
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <toku_portability.h>
#include <fcntl.h>
#include "test.h" #include "test.h"
#include <fcntl.h>
DB_ENV * const null_env = 0; DB_ENV * const null_env = 0;
DB *db1, *db2; DB *db1, *db2;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Does removing a database free the DB structure's memory? */ /* Does removing a database free the DB structure's memory? */
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <memory.h> #include <memory.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Does removing subdatabases corrupt the db file/other dbs in that file? (when nothing else open) */ /* Does removing subdatabases corrupt the db file/other dbs in that file? (when nothing else open) */
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <memory.h> #include <memory.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
test_db_set_flags (int flags, int expectr, int flags2, int expectr2) { test_db_set_flags (int flags, int expectr, int flags2, int expectr2) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
struct heavi_extra { struct heavi_extra {
DBT key; DBT key;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <memory.h> #include <memory.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
// ENVDIR is defined in the Makefile // ENVDIR is defined in the Makefile
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include "test.h"
int int
test_main (int argc, const char *argv[]) { test_main (int argc, const char *argv[]) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
db_put (DB *db, int k, int v) { db_put (DB *db, int k, int v) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,11 +8,9 @@ ...@@ -8,11 +8,9 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include "test.h"
int errors; int errors;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
/* verify that the dup flags are written and read from the database file correctly */ /* verify that the dup flags are written and read from the database file correctly */
static void static void
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
db_put (DB *db, int k, int v) { db_put (DB *db, int k, int v) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* test the cursor DB_NEXT_DUP operation */ /* test the cursor DB_NEXT_DUP operation */
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -11,10 +11,8 @@ ...@@ -11,10 +11,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static int testlevel = 0; static int testlevel = 0;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test to see if delete works right with dupsort. /* Test to see if delete works right with dupsort.
* 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 <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
/* Test to see if delete works right with dupsort. /* Test to see if delete works right with dupsort.
* 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.
* In #690 we saw corrupted checksum errors. This actually tries to get that error to occur, whereas * In #690 we saw corrupted checksum errors. This actually tries to get that error to occur, whereas
* 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 <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h"
static DB_ENV *env; static DB_ENV *env;
static DB *db; static DB *db;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
db_put (DB *db, int k, int v) { db_put (DB *db, int k, int v) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
db_put (DB *db, int k, int v) { db_put (DB *db, int k, int v) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
db_put (DB *db, int k, int v) { db_put (DB *db, int k, int v) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
db_put (DB *db, int k, int v) { db_put (DB *db, int k, int v) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
#include <unistd.h> #include <unistd.h>
#include <memory.h> #include <memory.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
#ifndef DB_DELETE_ANY #ifndef DB_DELETE_ANY
#define DB_DELETE_ANY 0 #define DB_DELETE_ANY 0
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h" #include "test.h"
#include <assert.h> #include <assert.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
int int
test_main (int UU(argc), const char UU(*argv[])) { test_main (int UU(argc), const char UU(*argv[])) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h>
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <memory.h> #include <memory.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h"
static void static void
test_env_open_flags (int env_open_flags, int expectr) { test_env_open_flags (int env_open_flags, int expectr) {
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <assert.h> #include <assert.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include "test.h"
char const* expect_errpfx; char const* expect_errpfx;
int n_handle_error=0; int n_handle_error=0;
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <toku_portability.h> #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "test.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include "test.h"
#include <toku_pthread.h> #include <toku_pthread.h>
static void * static void *
......
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.
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