xelabs / go-mydumper

A multi-threaded MySQL backup and restore tool, faster than mysqldump
GNU General Public License v3.0
346 stars 100 forks source link

[feature] add session variable setting #13

Closed BohuTANG closed 5 years ago

BohuTANG commented 5 years ago

Summary

Add session variable settting(flags) after connection of the pool. eg. RadonDB, we can set:

set @@SESSION.radon_streaming_fetch=true

to do stream fetching.