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

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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://root@127.0.0.1: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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages