Commit 0b20943e authored by Michael Widenius's avatar Michael Widenius

Fixed typo that caused compile failure in thr_lock.c

mysys/thr_lock.c:
  Fixed typo that caused compile failure
parent bd2034db
...@@ -163,7 +163,7 @@ static int check_lock(struct st_lock_list *list, const char* lock_type, ...@@ -163,7 +163,7 @@ static int check_lock(struct st_lock_list *list, const char* lock_type,
if (list->data) if (list->data)
{ {
enum thr_lock_type last_lock_type= list->data->type; enum thr_lock_type last_lock_type= list->data->type;
THR_LOCK_OWNER first_owner= list->data->owner; THR_LOCK_OWNER *first_owner= list->data->owner;
for (data=list->data; data && count++ < MAX_LOCKS ; data=data->next) for (data=list->data; data && count++ < MAX_LOCKS ; data=data->next)
{ {
......
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