Drizzle client hash completion generates SQL errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Andrew Hutchings | ||
7.0 |
Fix Released
|
Medium
|
Andrew Hutchings |
Bug Description
Whilst breaking on "my_printf_error" I accidentally found that the drizzle client's hash completion generator routine is getting SQL errors on:
show fields in 't2'
But silently hiding them.
Backtrace on Drizzle server side:
#0 drizzled:
format=0xd1aba8 "%s near '%-.80s' at line %d", MyFlags=0)
at drizzled/
#1 0x000000000068c1da in DRIZZLEparse (yysession=
at drizzled/
#2 0x000000000066b3fc in parse_sql (session=0x1840c10,
inBuf=0x184b028 "show fields in 't2'", length=19)
at drizzled/
#3 drizzled:
inBuf=0x184b028 "show fields in 't2'", length=19)
at drizzled/
#4 0x000000000066d8aa in drizzled:
command=<value optimised out>, session=0x1840c10,
packet=
packet_
#5 0x0000000000645b2a in drizzled:
at drizzled/
#6 0x000000000064b35f in drizzled:
at drizzled/
#7 0x00007ffff18aa94b in MultiThreadSche
session=
#8 0x00007ffff6b698e0 in thread_proxy ()
from /usr/lib/
#9 0x00007ffff543d971 in start_thread (arg=<value optimised out>)
at pthread_
#10 0x00007ffff519994d in clone ()
at ../sysdeps/
#11 0x0000000000000000 in ?? ()
Related branches
- Drizzle Developers: Pending requested
-
Diff: 15 lines (+2/-2)1 file modifiedclient/drizzle.cc (+2/-2)