mirror of https://github.com/citusdata/citus.git
Merge pull request #2903 from citusdata/fix_assertion_error_in_2900
commands/index.c: Fix assertion typopull/2904/head
commit
4bbea6e3d8
|
@ -190,8 +190,8 @@ ErrorIfReindexOnDistributedTable(ReindexStmt *ReindexStatement)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Assert(ReindexStatement->relkind == REINDEX_OBJECT_INDEX ||
|
Assert(ReindexStatement->kind == REINDEX_OBJECT_INDEX ||
|
||||||
ReindexStatement->relkind == REINDEX_OBJECT_TABLE);
|
ReindexStatement->kind == REINDEX_OBJECT_TABLE);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX: Consider using RangeVarGetRelidExtended with a permission
|
* XXX: Consider using RangeVarGetRelidExtended with a permission
|
||||||
|
|
Loading…
Reference in New Issue