xelabs / go-mydumper

A multi-threaded MySQL backup and restore tool, faster than mysqldump

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug] myloader issue when importing tables with dash

kfi opened this issue · comments

2019/03/07 14:47:51.787967 loader.go:87: [INFO] working.table[mydb.m2epro_amazon_listing_product_backup_2015-05-11]
2019/03/07 14:47:51.788896 loader.go:102: [INFO] drop(overwrite.is.true).table[mydb.m2epro_amazon_listing_product_backup_2015-05-11]
panic: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-05-11' at line 1 (errno 1064) (sqlstate 42000)

commented

Hi @kfi

Thanks for your reporting.
This bug fixed cd048b9

Please git pull master again and rebuild.

works great, thank you