summaryrefslogtreecommitdiff
path: root/storage/xtradb/dict/dict0crea.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/dict/dict0crea.c')
-rw-r--r--storage/xtradb/dict/dict0crea.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/xtradb/dict/dict0crea.c b/storage/xtradb/dict/dict0crea.c
index 4c1c4f1bd6b..a77acf8b577 100644
--- a/storage/xtradb/dict/dict0crea.c
+++ b/storage/xtradb/dict/dict0crea.c
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1996, 2014, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -1255,7 +1255,7 @@ dict_create_index_step(
>= DICT_TF_FORMAT_ZIP);
node->index = dict_index_get_if_in_cache_low(index_id);
- ut_a((node->index == 0) == (err != DB_SUCCESS));
+ ut_a((node->index == NULL) == (err != DB_SUCCESS));
if (err != DB_SUCCESS) {