Skip to content

Commit 17d715a

Browse files
committed
Sqlite: No actualization of schema for SqlDropIndex
Sqlite has no support for multischema so storage nodes won't be built on it, at least for now so it is ok.
1 parent 410cbed commit 17d715a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Orm/Xtensive.Orm.Sqlite/Sql.Drivers.Sqlite/v3/Translator.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,8 @@ public override void Translate(SqlCompilerContext context, SqlCreateIndex node,
306306
/// <inheritdoc/>
307307
public override void Translate(SqlCompilerContext context, SqlDropIndex node)
308308
{
309-
_ = context.Output.Append("DROP INDEX ")
310-
.Append(context.SqlNodeActualizer.Actualize(node.Index.DataTable.Schema))
311-
.Append(".");
312-
TranslateIdentifier(context.Output, node.Index.DbName);
309+
_ = context.Output.Append("DROP INDEX ");
310+
TranslateIdentifier(context.Output, node.Index.DataTable.Schema.DbName, node.Index.DbName);
313311
}
314312

315313
/// <inheritdoc/>

0 commit comments

Comments
 (0)