diff options
Diffstat (limited to 'src/third_party/wiredtiger/examples/c/ex_hello.c')
-rw-r--r-- | src/third_party/wiredtiger/examples/c/ex_hello.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/third_party/wiredtiger/examples/c/ex_hello.c b/src/third_party/wiredtiger/examples/c/ex_hello.c index e4c7c55e65d..c47ed75deb9 100644 --- a/src/third_party/wiredtiger/examples/c/ex_hello.c +++ b/src/third_party/wiredtiger/examples/c/ex_hello.c @@ -36,21 +36,21 @@ static const char *home; int main(int argc, char *argv[]) { - WT_CONNECTION *conn; - WT_SESSION *session; + WT_CONNECTION *conn; + WT_SESSION *session; - home = example_setup(argc, argv); + home = example_setup(argc, argv); - /* Open a connection to the database, creating it if necessary. */ - error_check(wiredtiger_open(home, NULL, "create", &conn)); + /* Open a connection to the database, creating it if necessary. */ + error_check(wiredtiger_open(home, NULL, "create", &conn)); - /* Open a session for the current thread's work. */ - error_check(conn->open_session(conn, NULL, NULL, &session)); + /* Open a session for the current thread's work. */ + error_check(conn->open_session(conn, NULL, NULL, &session)); - /* Do some work... */ + /* Do some work... */ - /* Note: closing the connection implicitly closes open session(s). */ - error_check(conn->close(conn, NULL)); + /* Note: closing the connection implicitly closes open session(s). */ + error_check(conn->close(conn, NULL)); - return (EXIT_SUCCESS); + return (EXIT_SUCCESS); } |