>>>>> "Jochen" == Jochen Wiedmann <joe@stripped> writes:
Jochen> Michael Widenius wrote:
>> The problem is that this is a server variable and not a client
>> variable.
Jochen> Obviously, but is it a modifiable server variable? Couldn't it be
Jochen> sent as a flag with any query? (Just one bit, won't cause network
Jochen> traffic.)
The problem is that this would require a change in the protocol and
make things incompatible; I usually try to add many changes at one time!
>> One option would be to add 'SQL_RETURN_FOUND_ROWS' as a server
>> variable that one can set to affect this. Would this be ok with you?
Jochen> I think this is better than setting it at the C level. I'd still
Jochen> apreciate the possibility to choose in the client.
I meant that you could just excute the query:
"SET SQL_RETURN_FOUND_ROWS=1"
The main problem is that this has to be re-executed on any
reconnect. I shall look into adding support for this in the client...
Regards,
Monty