-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace usage of removed db.indexes() with SHOW INDEXES #2326
Conversation
@@ -229,7 +229,7 @@ private void exportSchema(PrintWriter out) { | |||
} | |||
|
|||
private List<String> exportIndexes() { | |||
return db.executeTransactionally("CALL db.indexes()", Collections.emptyMap(), result -> result.stream() | |||
return db.executeTransactionally("SHOW INDEXES", Collections.emptyMap(), result -> result.stream() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we presume that the result columns have not changed between these two calls?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, there is one change: "provider" is replaced by "indexProvider"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But from what I could see in this method we never care about that field so I think we are good.
e5707b9
to
d1caf51
Compare
Amended some updates. Ping @Lojjs |
I will merge this and monitor https://live.neo4j-build.io/buildConfiguration/Apoc_Dev_BuildAndCreateArtifacts?mode=builds#all-projects |
... well... shit... I can't merge either... |
No description provided.