libdrizzle should translate errno

Bug #728892 reported by Andrew Hutchings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Triaged
Low
Andrew Hutchings
7.0
Won't Fix
Low
Andrew Hutchings
7.1
Triaged
Low
Andrew Hutchings

Bug Description

With the error:

drizzle_state_read:read:9

It is difficult to know what the '9' is. It is actually an errno meaning Bad File Descriptor. We should have this spit out strerror_r() for the errno.

Changed in drizzle:
milestone: 2011-03-14 → 2011-03-28
Revision history for this message
Brian Aker (brianaker) wrote :

So I fixed this in tree by using strerror(), but this obviously will have issues as well (for concurrency).

Revision history for this message
Stewart Smith (stewart) wrote : Re: [Bug 728892] Re: libdrizzle should translate errno

On Thu, 05 Jan 2012 07:00:31 -0000, Brian Aker <email address hidden> wrote:
> So I fixed this in tree by using strerror(), but this obviously will
> have issues as well (for concurrency).

strerror_r is available most places AFAIK
--
Stewart Smith

Revision history for this message
Gokul (gokul-z) wrote :

Hi, I am new to drizzzle dataserver. Needed document to go thru basic functionality of drizzle doc link are not open . please provide the doc/links for drizzle.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.