mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 00:54:30 +02:00
mysql-5.5.37 selective merge
This commit is contained in:
commit
cb67dcb618
1335 changed files with 3710 additions and 722 deletions
|
|
@ -435,7 +435,7 @@ extern my_atomic_rwlock_t global_query_id_lock;
|
|||
void unireg_end(void) __attribute__((noreturn));
|
||||
|
||||
/* increment query_id and return it. */
|
||||
inline query_id_t next_query_id()
|
||||
inline __attribute__((warn_unused_result)) query_id_t next_query_id()
|
||||
{
|
||||
query_id_t id;
|
||||
my_atomic_rwlock_wrlock(&global_query_id_lock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue