~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/found_rows.cc

Remove dead memset call.

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;
32
31
 
33
 
  return session->found_rows();
 
32
  return getSession().found_rows();
34
33
}
35
34
 
36
35
} /* namespace drizzled */