~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/functions/connection_id.cc

  • Committer: Brian Aker
  • Date: 2008-10-20 04:28:21 UTC
  • mto: (492.3.21 drizzle-clean-code)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: brian@tangent.org-20081020042821-rqqdrccuu8195k3y
Second pass of thd cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
}
29
29
 
30
30
 
31
 
bool Item_func_connection_id::fix_fields(Session *thd, Item **ref)
 
31
bool Item_func_connection_id::fix_fields(Session *session, Item **ref)
32
32
{
33
 
  if (Item_int_func::fix_fields(thd, ref))
 
33
  if (Item_int_func::fix_fields(session, ref))
34
34
    return true;
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;
37
37
  return false;
38
38
}
39
39