I received error number #1065 -- 'Query was empt'. As
it appears the 'y' was cut off of the end of the
exception message, I checked the source to find that
changing the while clause in the ReadString() function
as follows would fix the problem:
while (x <= m_Buffer.Length-1 && m_Buffer[x] != 0)
The modified code will include the last character in the
conversion buffer if it has not yet encountered a null.
However, the root of the problem is that there is no
trailing null after the error message. This could be
caused by one of the following -- I am not sure which:
(a) MySQL does not return a null after error messages
(b) The null character is being truncated by accident
somewhere else in the implementation
Thanks!