Hello Julien,
>When there is a problem with a connection the next time I call a
>function like mysql_query() or mysql_ping() it does report an error
>witch is fine but if I call 2 function in a row before resetting the
>connection the function crash instead of reporting an error, I can live
>with that since I have the opportunity to reset.
>
>
>
>Now when a connection is left idle for some time and is probably
>disconnect if I call mysql_query() it does crash instead of reporting an
>error.
>
It looks strange. But such behaviour can depends not only from MySQL C
API, but by other causes too. Please, send exact code with crash is
happens to I can repeat the issue.
Thank you,
--
Sveta Smirnova, Support Engineer
MySQL AB, Russia, www.mysql.com
Are you MySQL certified? www.mysql.com/certification