pavlukhin commented on a change in pull request #6770: IGNITE-12061 Fix inline
size change.
URL: https://github.com/apache/ignite/pull/6770#discussion_r314967294
##########
File path:
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/SchemaManager.java
##########
@@ -616,6 +616,12 @@ public void dropIndex(final String schemaName, String
idxName, boolean ifExists)
throws IgniteCheckedException{
String sql = H2Utils.indexDropSql(schemaName, idxName, ifExists);
+ GridH2Table tbl = dataTableForIndex(schemaName, idxName);
+
+ assert tbl != null;
+
+ tbl.setRemoveIndexOnDestroy(true);
Review comment:
Also a method name `setRemoveIndexOnDestroy` (and a javadoc) becomes
misleading as it is going to be used for destroying an index on drop.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services