Fix vertex delete in SQL executor
@@ -26,7 +26,7 @@ public class DeleteStep extends AbstractExecutionStep {
@Override public OResult next() {
OResult result = upstream.next();
if (result.isElement()) {
- ctx.getDatabase().delete(result.getElement().get());
+ result.getElement().get().delete();
}
return result;
}
