Skip to content

you06/abclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doppelgänger

This is the client of SQLSmith-go to execute random generate SQLs in double side.

Build

make

Usage

./bin/doppelganger -h
Usage of ./bin/doppelganger:
  -V	print version
  -clear
    	drop all tables in target database and then start testing
  -concurrency int
    	test concurrency (default 1)
  -dsn1 string
    	dsn1
  -dsn2 string
    	dsn2
  -log string
    	log path
  -re string
    	reproduce from log, path:line, will execute to the line number, will not execute the given line
  -schema
    	print schema and exit
  -stable
    	generate stable SQL without random or other env related expression
  • ABtest Example
./bin/doppelganger -dsn1 "root:@tcp(127.0.0.1:3306)/sqlsmith" -dsn2 "root@tcp(127.0.0.1:4000)/sqlsmith" -log ./log -stable -concurrency 3

With empty log parameter, all logs will be print to terminal.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published