This commit is contained in:
hebo
2019-12-26 16:13:36 +08:00
parent 6c2fcd13b2
commit 119d0c9f97
2 changed files with 11 additions and 11 deletions

View File

@@ -158,7 +158,7 @@ func (ms *MysqlSession) readFromServer(respSeq int64, bytes []byte) (ok, val int
ms.prepareInfo.prepareStmtID = bytesToInt(contents[1:5])
}
return parseResponseHeader(contents)
return parseResponseHeader(bytes)
}
err = fmt.Errorf("not need packet")