~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Monty Taylor
  • Date: 2009-12-22 22:30:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1253.
  • Revision ID: mordred@inaugust.com-20091222223009-v0id1xai6x0agcxj
Fixed valgrind issue.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1072
1072
}
1073
1073
 
1074
1074
select_to_file::select_to_file(file_exchange *ex)
1075
 
  : exchange(ex), file(-1), cache(new IO_CACHE), row_count(0L)
 
1075
  : exchange(ex),
 
1076
    file(-1),
 
1077
    cache(static_cast<IO_CACHE *>(sql_calloc(sizeof(IO_CACHE)))),
 
1078
    row_count(0L)
1076
1079
{
1077
1080
  path[0]=0;
1078
1081
}