listen_tcp: bind() errors produce a confusing error message
Bug #720976 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Low
|
Unassigned | ||
7.0 |
Fix Released
|
Low
|
Unassigned |
Bug Description
The message that is printed when drizzle fails to bind to a port is confusing because it does not tell you which port it failed to bind on, and it this may be following successful binds to other ports, implying that it failed to bind to those.
This patch makes it much clearer:
=== modified file 'drizzled/
--- drizzled/
+++ drizzled/
@@ -186,7 +186,7 @@
if (ret < 0)
{
- sql_perror(
+ errmsg_
return true;
}
Related branches
lp:~kalebral-deactivatedaccount/drizzle/720976
Merged
into
lp:drizzle/7.0
- Drizzle Developers: Pending requested
-
Diff: 11 lines (+1/-1)1 file modifieddrizzled/plugin/listen_tcp.cc (+1/-1)
Changed in drizzle: | |
status: | New → Confirmed |
importance: | Undecided → Low |
To post a comment you must log in.