diff options
Diffstat (limited to 'test/csuite/wt2592_join_schema/main.c')
-rw-r--r-- | test/csuite/wt2592_join_schema/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/csuite/wt2592_join_schema/main.c b/test/csuite/wt2592_join_schema/main.c index fa6f50b12ae..a880e15767b 100644 --- a/test/csuite/wt2592_join_schema/main.c +++ b/test/csuite/wt2592_join_schema/main.c @@ -87,7 +87,8 @@ main(int argc, char *argv[]) testutil_check(testutil_parse_opts(argc, argv, opts)); testutil_make_work_dir(opts->home); - testutil_assert((tablename = strchr(opts->uri, ':')) != 0); + tablename = strchr(opts->uri, ':'); + testutil_assert(tablename != NULL); tablename++; snprintf(countryuri, sizeof(countryuri), "index:%s:country", tablename); snprintf(yearuri, sizeof(yearuri), "index:%s:year", tablename); |