Skip to content

Commit

Permalink
[Indexer/Schema] Remove query cost function
Browse files Browse the repository at this point in the history
## Description

We no longer use the query_cost function anywhere (it has been
replaced by a diesel extension that enables us to call `EXPLAIN` on a
query), so cleaning it up to avoid having to maintain it (and create a
MySQL compatible version of it).

## Test plan

```
sui-indexer$ diesel setup --database-url=$DB --migration-dir='migrations/mysql'
sui-indexer$ diesel database reset --database-url=$DB --migration-dir='migrations/mysql'
sui$ cargo nextest run -p sui-indexer
sui$ cargo nextest run -p sui-graphql-rpc
sui$ cargo nextest run -p sui-graphql-e2e-tests --features pg_integration
```
  • Loading branch information
amnn committed May 14, 2024
1 parent 82d0544 commit 2331501
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.

This file was deleted.

This file was deleted.

0 comments on commit 2331501

Please sign in to comment.