提交 f6f69ce5 编写于 作者: S Serge Rider

PG tests fix (model in the test mode)

上级 4a39466a
......@@ -793,7 +793,8 @@ public class PostgreDatabase extends JDBCRemoteInstance
}
// Check schemas in search path
List<String> searchPath = getMetaContext().getSearchPath();
PostgreExecutionContext metaContext = getMetaContext();
List<String> searchPath = metaContext == null ? Collections.singletonList(PostgreConstants.CATALOG_SCHEMA_NAME) : metaContext.getSearchPath();
for (String schemaName : searchPath) {
final PostgreSchema schema = schemaCache.getCachedObject(schemaName);
if (schema != null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册