~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/row_count.cc

  • Committer: Lee Bieber
  • Date: 2011-02-10 01:09:23 UTC
  • mfrom: (2152.2.1 alter-table)
  • Revision ID: kalebral@gmail.com-20110210010923-mbwuwow0nudk7ryh
Merge Brian - more parser rework

Show diffs side-by-side

added added

removed removed

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