IF/ELSE broken for (true, boolean, string) arguments
Bug #798959 reported by
Piotr Przybylski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Brian Aker |
Bug Description
Running the query:
SELECT IF(true, true, '');
results in a lot of random binary data.
Related branches
lp:~brianaker/drizzle/bug_798959
- Drizzle Merge Team: Pending requested
-
Diff: 494 lines (+112/-46) (has conflicts)19 files modified.bzrignore (+1/-0)
drizzled/function/set_user_var.cc (+2/-0)
drizzled/item/boolean.h (+20/-0)
drizzled/item/cmpfunc.cc (+32/-22)
drizzled/item/cmpfunc.h (+7/-4)
drizzled/message.cc (+0/-6)
drizzled/message.h (+0/-1)
drizzled/set_var.cc (+1/-0)
drizzled/signal_handler.cc (+1/-1)
drizzled/sql_string.cc (+2/-2)
drizzled/sql_string.h (+9/-0)
drizzled/sql_yacc.yy (+3/-1)
drizzled/util/backtrace.cc (+2/-3)
drizzled/util/backtrace.h (+3/-1)
plugin/debug/module.cc (+1/-1)
plugin/utility_functions/tests/r/result_type.result (+2/-2)
plugin/utility_functions/tests/r/typeof.result (+2/-2)
tests/suite/regression/r/798959.result (+18/-0)
tests/suite/regression/t/798959.test (+6/-0)
Changed in drizzle: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Brian Aker (brianaker) |
Changed in drizzle: | |
status: | Confirmed → Fix Committed |
Changed in drizzle: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Forgot to mention: build 2011.03.03 from Ubuntu 11.04 Server.