sql_perror() has off-by-one error leading to dropped out_of_bounds exception and other nasty instead of a sensible error message
Bug #911638 reported by
Stewart Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Low
|
Stewart Smith |
Bug Description
need this:
--- drizzled/
+++ drizzled/
@@ -74,7 +74,7 @@ void sql_perror(
if (not extra.empty())
{
- if (message.
+ if (message.
message+= " ";
message+= "'";
e.g. in transaction_log tests, if it couldn't open the transaction.log - you'd get a odd DRIZZLE_ABORT error message instead of "could not open file"
Related branches
lp:~stewart/drizzle/bug911638
- Drizzle Merge Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifieddrizzled/errmsg_print.cc (+1/-1)
Changed in drizzle: | |
status: | New → Fix Committed |
importance: | Undecided → Low |
assignee: | nobody → Stewart Smith (stewart) |
Changed in drizzle: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.