31
bool Item_func_connection_id::fix_fields(Session *thd, Item **ref)
31
bool Item_func_connection_id::fix_fields(Session *session, Item **ref)
33
if (Item_int_func::fix_fields(thd, ref))
33
if (Item_int_func::fix_fields(session, ref))
35
thd->thread_specific_used= true;
36
value= thd->variables.pseudo_thread_id;
35
session->thread_specific_used= true;
36
value= session->variables.pseudo_thread_id;