Re: Using mysql C Api affects memory in my executing program
Posted by: Francesco Di Fusco
Date: April 18, 2021 05:48AM

I verified using a connection to mysql affects QUERY_STRING. If I don't use :

if (mysql_query(conn, sql)) {
fprintf(stderr, "%s\n", mysql_error(conn));
exit(1);
}

query_string is, for example, POST size=5355 bytes. If I use

if (mysql_query(conn, sql)) {
fprintf(stderr, "%s\n", mysql_error(conn));
exit(1);
}
Query string is longer, 14 bytes more, as if libmysql added extra bytes to QUERY_STRING, the mysterious part --> bin" id="82"l

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Using mysql C Api affects memory in my executing program
240
April 18, 2021 05:48AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.