Repository: incubator-quickstep Updated Branches: refs/heads/master 68fc74564 -> 256f9dd2b
Allow to update CatalogDatabaseCache using the proto serialized from CatalogDatabase. Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/256f9dd2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/256f9dd2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/256f9dd2 Branch: refs/heads/master Commit: 256f9dd2bee94aa35686c814453c12fc6ea80592 Parents: 68fc745 Author: Zuyu Zhang <zu...@apache.org> Authored: Mon Mar 13 21:12:33 2017 -0700 Committer: Zuyu Zhang <zu...@apache.org> Committed: Mon Mar 13 21:12:33 2017 -0700 ---------------------------------------------------------------------- catalog/CatalogDatabaseCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/256f9dd2/catalog/CatalogDatabaseCache.cpp ---------------------------------------------------------------------- diff --git a/catalog/CatalogDatabaseCache.cpp b/catalog/CatalogDatabaseCache.cpp index 7f7c495..1c775ff 100644 --- a/catalog/CatalogDatabaseCache.cpp +++ b/catalog/CatalogDatabaseCache.cpp @@ -45,7 +45,7 @@ bool CatalogDatabaseCache::ProtoIsValid(const serialization::CatalogDatabase &pr } } - return proto.null_relations_size() == 0; + return true; } CatalogDatabaseCache::CatalogDatabaseCache(const serialization::CatalogDatabase &proto) {