Long Data Packet (Tentative Description) MySQL

From client to server, for long parameter values.

Long Data Packet

This is used by mysql_send_long_data() to set any parameter to a string value. One can callmysql_send_long_data() multiple times for the same parameter; The server will concatenate the results to one big string.

The server will not require an end packet for the string. mysql_send_long_data() is responsible for updating a flag that all data has been sent (that is, that the last call to mysql_send_long_data() has the 'last_data' flag set).

The server will not send an @code{ok} or @code{error} packet in response to this. If there is an error(for example the string is too big), one will see the error when calling "execute".


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

MySQL Topics