Skip to content

Commit

Permalink
WT-2093 Make types match.
Browse files Browse the repository at this point in the history
  • Loading branch information
agorrod committed Sep 10, 2015
1 parent 2110f10 commit 39d8cef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/cache/cache_las.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ __wt_las_set_written(WT_SESSION_IMPL *session)
WT_CONNECTION_IMPL *conn;

conn = S2C(session);
if (conn->las_written == 0) {
conn->las_written = 1;
if (!conn->las_written) {
conn->las_written = true;

/*
* Push the flag: unnecessary, but from now page reads must deal
Expand Down
2 changes: 1 addition & 1 deletion src/include/connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ struct __wt_connection_impl {
WT_SPINLOCK las_lock; /* Lookaside table spinlock */
WT_SESSION_IMPL *las_session; /* Lookaside table session */
WT_CURSOR *las_cursor; /* Lookaside table cursor */
int las_written; /* Lookaside table has been written */
bool las_written; /* Lookaside table has been written */

WT_ITEM las_sweep_key; /* Sweep server's saved key */
int las_sweep_call;/* Sweep server's call count */
Expand Down

0 comments on commit 39d8cef

Please sign in to comment.