Skip to content

Commit 65168cf

Browse files
committed
MySQL: Fixes NRE on Catalog extraction
1 parent 3ed22ed commit 65168cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Orm/Xtensive.Orm.MySql/Sql.Drivers.MySql/v5_0/Extractor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public ExtractionContext(Catalog catalog, string targetSchema)
116116

117117
/// <inheritdoc/>
118118
public override Catalog ExtractCatalog(string catalogName) =>
119-
ExtractSchemes(catalogName, Array.Empty<string>());
119+
ExtractSchemes(catalogName, new[] { Driver.CoreServerInfo.DefaultSchemaName });
120120

121121
/// <inheritdoc/>
122122
public override Task<Catalog> ExtractCatalogAsync(string catalogName, CancellationToken token = default) =>

0 commit comments

Comments
 (0)