Commit 29683441 authored by Sunny Bains's avatar Sunny Bains

Set the slot to NULL when creating a query thread.

parent 22b4c120
......@@ -225,6 +225,8 @@ que_thr_create(
thr->resource = 0;
thr->lock_state = QUE_THR_LOCK_NOLOCK;
thr->slot = NULL;
UT_LIST_ADD_LAST(thrs, parent->thrs, thr);
return(thr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment