String concatenation operator doesn't allow chaining
Bug #786509 reported by
Piotr Przybylski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Brian Aker |
Bug Description
In other DBMSs I can execute the following query and get "abc" as a result:
select 'a' || 'b' || 'c'
but in Drizzle I have to do
select ('a' || 'b') || 'c'
because the original query is reported as having incorrect syntax (error 1064 (42000)).
Related branches
lp://staging/~brianaker/drizzle/bug786515-elliot
- Drizzle Developers: Pending requested
-
Diff: 282 lines (+91/-12)9 files modifiedclient/drizzle.cc (+5/-2)
client/drizzledump.cc (+5/-2)
client/drizzleimport.cc (+5/-2)
client/include.am (+1/-0)
client/user_detect.h (+62/-0)
plugin/console/console.cc (+5/-1)
plugin/haildb/plugin.ini (+3/-0)
plugin/schema_dictionary/tests/r/data_dictionary.result (+4/-4)
plugin/session_dictionary/sessions.cc (+1/-1)
lp://staging/~brianaker/drizzle/bug786509-trunk
- Drizzle Merge Team: Pending requested
-
Diff: 40 lines (+8/-2)3 files modifieddrizzled/sql_yacc.yy (+4/-2)
tests/r/concat.result (+3/-0)
tests/t/concat.test (+1/-0)
Changed in drizzle: | |
assignee: | nobody → Brian Aker (brianaker) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in drizzle: | |
status: | Fix Committed → Fix Released |
milestone: | none → 2011-06-06 |
To post a comment you must log in.