~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Eric Day
  • Date: 2009-08-06 19:31:30 UTC
  • mfrom: (971.3.71 eday-merge)
  • mto: This revision was merged to the branch mainline in revision 1131.
  • Revision ID: eday@oddments.org-20090806193130-hetxd5bpqovrco68
Merged cleanup from my merge branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
940
940
  /**
941
941
    Initialize memory roots necessary for query processing and (!)
942
942
    pre-allocate memory for it. We can't do that in Session constructor because
943
 
    there are use cases (acl_init, watcher threads,
944
 
    killing mysqld) where it's vital to not allocate excessive and not used
945
 
    memory. Note, that we still don't return error from init_for_queries():
946
 
    if preallocation fails, we should notice that at the first call to
947
 
    alloc_root.
 
943
    there are use cases where it's vital to not allocate excessive and not used
 
944
    memory.
948
945
  */
949
946
  void prepareForQueries();
950
947