preparing for db access
This commit is contained in:
parent
f5b276415a
commit
1b8c5ff286
@ -88,6 +88,10 @@ func (this *GoMySQLReader) ReadEntries(logFile string, startPos uint64, stopPos
|
||||
} else {
|
||||
ev.Dump(os.Stdout)
|
||||
}
|
||||
// TODO : convert to entries
|
||||
// need to parse multi-row entries
|
||||
// insert & delete are just one row per db orw
|
||||
// update: where-row_>values-row, repeating
|
||||
}
|
||||
}
|
||||
log.Debugf("done")
|
||||
|
@ -18,7 +18,7 @@ func init() {
|
||||
log.SetLevel(log.ERROR)
|
||||
}
|
||||
|
||||
func TestRBRSample0(t *testing.T) {
|
||||
func __TestRBRSample0(t *testing.T) {
|
||||
testFile, err := os.Open("testdata/rbr-sample-0.txt")
|
||||
test.S(t).ExpectNil(err)
|
||||
defer testFile.Close()
|
||||
|
6
go/mysql/inspect.go
Normal file
6
go/mysql/inspect.go
Normal file
@ -0,0 +1,6 @@
|
||||
/*
|
||||
Copyright 2016 GitHub Inc.
|
||||
See https://github.com/github/gh-osc/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
package mysql
|
Loading…
Reference in New Issue
Block a user