MCPcopy
hub / github.com/PyMySQL/PyMySQL / is_ok_packet

Method is_ok_packet

pymysql/protocol.py:181–183  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

179 return result
180
181 def is_ok_packet(self):
182 # https://dev.mysql.com/doc/internals/en/packet-OK_Packet.html
183 return self._data[0] == 0 and len(self._data) >= 7
184
185 def is_eof_packet(self):
186 # http://dev.mysql.com/doc/internals/en/generic-response-packets.html#packet-EOF_Packet

Callers 7

_read_ok_packetMethod · 0.80
_process_authMethod · 0.80
readMethod · 0.80
init_unbuffered_queryMethod · 0.80
__init__Method · 0.80
authenticateMethod · 0.80

Calls

no outgoing calls

Tested by 1

authenticateMethod · 0.64