List:Internals« Previous MessageNext Message »
From:Stewart Smith Date:May 5 2014 11:12pm
Subject:Incorrect locking for global_query_id
View as plain text  
So, the Register link for creating a account still
doesn't work, so i'm filing a bug here:

Found in MySQl 5.6.17,

In sql/

bool sp_head::execute_function(THD *thd, Item **argp, uint argcount,

We have this code:

    q= global_query_id;

Which is incorrect.

It should at least by a my_atomic_load64 with the appropriate lock
things around it.

I haven't looked at if the mysql_bin.log.start_union_events(thd, q+1) is
correct or not.

Incorrect locking for global_query_idStewart Smith5 May
  • Re: Incorrect locking for global_query_idTor Didriksen6 May
    • Re: Incorrect locking for global_query_idStewart Smith6 May
  • Re: Incorrect locking for global_query_idDmitry Lenev6 May
    • Re: Incorrect locking for global_query_idStewart Smith6 May