~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/found_rows.cc

  • Committer: Paweł Blokus
  • Date: 2010-06-09 20:36:51 UTC
  • mto: This revision was merged to the branch mainline in revision 1620.
  • Revision ID: pawel@pawel-desktop-20100609203651-mbq5x34bt9m3kv0o
minor style fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
int64_t Item_func_found_rows::val_int()
29
29
{
30
30
  assert(fixed == 1);
 
31
  Session *session= current_session;
31
32
 
32
 
  return getSession().found_rows();
 
33
  return session->found_rows();
33
34
}
34
35
 
35
36
} /* namespace drizzled */