re-connect connectionID is wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Low
|
Andrew Hutchings | ||
Dexter |
Fix Released
|
Low
|
Andrew Hutchings | ||
Drizzle Client & Protocol Library |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
drizzle> show processlist\G
*******
ID: 1
USER: unauthenticated
HOST: 127.0.0.1
DB:
COMMAND: Query
TIME: 0
STATE: Sending data
INFO: show processlist
1 row in set, 1 warning (0 sec)
drizzle> kill 1;
Query OK, 0 rows affected (0 sec)
drizzle> show processlist;
ERROR:
drizzle_
No connection. Trying to reconnect...
Connection id: 3
Current database: *** NONE ***
drizzle> show processlist\G
*******
ID: 2
USER: unauthenticated
HOST: 127.0.0.1
DB:
COMMAND: Query
TIME: 0
STATE: Sending data
INFO: show processlist
1 row in set, 1 warning (0 sec)
Related branches
- Drizzle Merge Team: Pending requested
-
Diff: 71 lines (+6/-12)3 files modifieddrizzled/session.cc (+3/-0)
plugin/drizzle_protocol/drizzle_protocol.cc (+1/-5)
plugin/mysql_protocol/mysql_protocol.cc (+2/-7)
Happens due to bug in drizzle_ con_thread_ id(), part of the libdrizzle library.