On 1/25/11 7:29 AM, Tor Didriksen wrote:
> On Tue, Jan 25, 2011 at 4:42 AM, Davi Arnaut<davi.arnaut@stripped> wrote:
>> Hi Tor,
>> On 1/19/11 4:49 PM, Tor Didriksen wrote:
>>> #At file:///export/home/didrik/repo/trunk-sortaborted/ based on
>>> 3535 Tor Didriksen 2011-01-19
>>> Bug #36022 please log more information about "Sort aborted" queries
>>> Write an additional warning message to the server log,
>>> explaining why a sort operation is aborted.
>>> The output in mysqld.err will look something like:
>>> [ERROR] bin-dbg/sql/mysqld: Sort aborted
>>> [Warning] Sort aborted : Out of memory (Needed 24 bytes)
>> Why not include the reason in the error message itself?
> I didn't dare to :-)
> I thought maybe error messages were part of a documented interface,
> and as such should be kept stable.
These that go into the error or general log should be fine to change.
> If you say I can change it, then of course.
It has always been a gray area. I shall discuss it tomorrow...