make mysql read all dbs in default
@@ -694,7 +694,8 @@ func Test_getCheckHistory(t *testing.T) {
database: "Test_getCheckHistory",
dbtype: "mysql",
historyAll: true,
- table: "",
+ rawTable: "*",
+ rawDatabase: "*",
}
tests := []struct {
@@ -711,7 +712,7 @@ func Test_getCheckHistory(t *testing.T) {
},
{
queryType: DATABASE,
- exp_res: true,
+ exp_res: false,
},
}
