Commit 10f8e8f9 authored by unknown's avatar unknown

WL#1892 Post-review fix, removed index insertion in list at create

parent 8764e3c5
...@@ -1138,7 +1138,6 @@ int ha_ndbcluster::create_indexes(Ndb *ndb, TABLE *tab) ...@@ -1138,7 +1138,6 @@ int ha_ndbcluster::create_indexes(Ndb *ndb, TABLE *tab)
DBUG_PRINT("error", ("Failed to create index %u", i)); DBUG_PRINT("error", ("Failed to create index %u", i));
break; break;
} }
m_index[i].status= CREATED;
} }
DBUG_RETURN(error); DBUG_RETURN(error);
......
...@@ -56,9 +56,8 @@ typedef enum ndb_index_type { ...@@ -56,9 +56,8 @@ typedef enum ndb_index_type {
typedef enum ndb_index_status { typedef enum ndb_index_status {
UNDEFINED = 0, UNDEFINED = 0,
CREATED = 1, ACTIVE = 1,
ACTIVE = 2, TO_BE_DROPPED = 2
TO_BE_DROPPED = 3
} NDB_INDEX_STATUS; } NDB_INDEX_STATUS;
typedef struct ndb_index_data { typedef struct ndb_index_data {
......
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