Module packet_parser

This module incapsulates functions these are responsible for processing of MySQL binary packets.

Copyright © 2010-2014 Alexei Krasnopolski

Version: 1.2.4

Introduced in: 2010-11-18

Authors: Alexei Krasnopolski (krasnop@bellsouth.net) [web site: http://krasnopolski.org/].

Description

This module incapsulates functions these are responsible for processing of MySQL binary packets. Binary packets came from MySQL server are parsing to the client specific Erlang records.

Function Index

parse_server_response_packet/4Parses binary B to one of possible type of packet record.

Function Details

parse_server_response_packet/4

parse_server_response_packet(RS_seq_state::int(), B::binary(), Metadata::#metadata{}, Stmt::atom()) -> Result

Parses binary B to one of possible type of packet record. During processing uses parameters RS_seq_state (position of the processing packet in response set sequence) and Stmt (if response for statement is executed) are for flow control.


Generated by EDoc, Mar 19 2014, 23:27:00.