IMO, this part is wrong as I don't check if the query has been executed successfully before using the result... I should add a check & then, throw the associated exception. I think the use case can be a database crash between the connection instanciation & the fetching of the max allowed packet but I can't test it because I'm not able to reproduce this use case in the test suite... An idea? ping @tmartin