// FIXME and make this work.
// re4 := regexp.MustCompile(re_encoded)
// if m4 := re4.FindStringSubmatch(path); m4 != nil {
// FIXME and make this work.
// re4 := regexp.MustCompile(re_encoded)
// if m4 := re4.FindStringSubmatch(path); m4 != nil {
if m1 := re_table_file.FindStringSubmatch(path); m1 != nil {
// we may match temporary tables so check for them
if m2 := re_temp_table.FindStringSubmatch(m1[2]); m2 != nil {
if m1 := re_table_file.FindStringSubmatch(path); m1 != nil {
// we may match temporary tables so check for them
if m2 := re_temp_table.FindStringSubmatch(m1[2]); m2 != nil {
}
// we may match partitioned tables so check for them
if m3 := re_part_table.FindStringSubmatch(m1[2]); m3 != nil {
}
// we may match partitioned tables so check for them
if m3 := re_part_table.FindStringSubmatch(m1[2]); m3 != nil {
}
// relay logs are a bit complicated. If a full path then easy to
// identify,but if a relative path we may need to add $datadir,
}
// relay logs are a bit complicated. If a full path then easy to
// identify,but if a relative path we may need to add $datadir,
}
re_relay_log := relay_log + `\.(\d{6}|index)$`
if regexp.MustCompile(re_relay_log).MatchString(path) == true {
}
re_relay_log := relay_log + `\.(\d{6}|index)$`
if regexp.MustCompile(re_relay_log).MatchString(path) == true {