mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-11 23:02:12 +08:00
fix bug of recover early
This commit is contained in:
@@ -62,10 +62,15 @@ func (mqp *MysqlQueryPiece) Bytes() (content []byte) {
|
||||
return mqp.jsonContent
|
||||
}
|
||||
|
||||
mqp.jsonContent = marsharQueryPieceMonopolize(mqp)
|
||||
mqp.GenerateJsonBytes()
|
||||
return mqp.jsonContent
|
||||
}
|
||||
|
||||
func (mqp *MysqlQueryPiece) GenerateJsonBytes() {
|
||||
mqp.jsonContent = marsharQueryPieceMonopolize(mqp)
|
||||
return
|
||||
}
|
||||
|
||||
func (mqp *MysqlQueryPiece) GetSQL() (str *string) {
|
||||
return mqp.QuerySQL
|
||||
}
|
||||
|
Reference in New Issue
Block a user