cockroach: Files

Command smithcmp

smithcmp is a tool to execute random queries on a database. A TOML file provides configuration for which databases to connect to. If there is more than one, only non-mutating statements are generated, and the output is compared, exiting if there is a difference. If there is only one database, mutating and non-mutating statements are generated. A flag in the TOML controls whether Postgres-compatible output is generated.

Explicit SQL statements can be specified (skipping sqlsmith generation) using the top-level SQL array. Placeholders (`$1`, etc.) are supported. Random datums of the correct type will be filled in.

Package Files


Package main imports 17 packages (graph). Updated 2020-05-16. Refresh now. Tools for package owners.