Skip to content

Commit

Permalink
Fixed ListAllSchemaCommand.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppanopticon committed Oct 13, 2023
1 parent 4ca6a86 commit 57d4fb1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.vitrivr.cottontail.cli.schema

import org.vitrivr.cottontail.cli.basics.AbstractSchemaCommand
import org.vitrivr.cottontail.cli.basics.AbstractCottontailCommand
import org.vitrivr.cottontail.client.SimpleClient
import org.vitrivr.cottontail.client.language.ddl.ListSchemas
import org.vitrivr.cottontail.utilities.TabulationUtilities
Expand All @@ -14,7 +14,7 @@ import kotlin.time.measureTimedValue
* @version 2.0.0
*/
@ExperimentalTime
class ListAllSchemaCommand(client: SimpleClient) : AbstractSchemaCommand(client, name = "all", help = "Lists all schemas stored in Cottontail DB. Usage: schema all") {
class ListAllSchemaCommand(private val client: SimpleClient) : AbstractCottontailCommand(name = "all", help = "Lists all schemas stored in Cottontail DB. Usage: schema all", false) {
override fun exec() {
/* Execute query. */
val timedTable = measureTimedValue {
Expand Down

0 comments on commit 57d4fb1

Please sign in to comment.