Skip to content

Commit a7bcd87

Browse files
committed
MySQL: Fixes NRE on Catalog extraction (part 2)
1 parent 65168cf commit a7bcd87

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
@@ -120,7 +120,7 @@ public override Catalog ExtractCatalog(string catalogName) =>
120120

121121
/// <inheritdoc/>
122122
public override Task<Catalog> ExtractCatalogAsync(string catalogName, CancellationToken token = default) =>
123-
ExtractSchemesAsync(catalogName, Array.Empty<string>(), token);
123+
ExtractSchemesAsync(catalogName, new[] { Driver.CoreServerInfo.DefaultSchemaName }, token);
124124

125125
/// <inheritdoc/>
126126
public override Catalog ExtractSchemes(string catalogName, string[] schemaNames)

0 commit comments

Comments
 (0)