~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/connection_id/connection_id.cc

  • Committer: devananda
  • Date: 2009-07-09 20:51:49 UTC
  • mto: (1093.1.6 captain)
  • mto: This revision was merged to the branch mainline in revision 1095.
  • Revision ID: devananda.vdv@gmail.com-20090709205149-dtspa825s98qtl32
formatting cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
  
33
33
  int64_t val_int() 
34
34
  {
35
 
    assert(fixed==1);
 
35
    assert(fixed == true);
36
36
    return value;
37
37
  }
38
38
  
50
50
  bool fix_fields(Session *session, Item **ref)
51
51
  {
52
52
    if (Item_int_func::fix_fields(session, ref))
 
53
    {
53
54
      return true;
 
55
    }
54
56
 
55
57
    value= session->variables.pseudo_thread_id;
56
 
 
57
58
    return false;
58
59
  }
59
60
 
60
61
  bool check_argument_count(int n)
61
62
  {
62
 
    return (n==0);
 
63
    return (n == 0);
63
64
  }
64
65
};
65
66