Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Thearas/sql-reorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL Reorder

Execute SQL statements in all possible permutations.

Get Start

  1. Setup TiDB (Use TiUP Playground).
$ ./tests/run_tidb.sh
  1. Run sql-reorder.
$ export DATABASE_URL="mysql://[email protected]:4000/mysql"

# create table `X` in `mysql` database
$ cargo run -- tests/sqls/init_table.sql

# permute and execute two SQL scripts
$ cargo run -- tests/sqls/sql1.sql tests/sqls/sql2.sql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published