~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2011-10-18 17:07:03 UTC
  • mto: This revision was merged to the branch mainline in revision 2444.
  • Revision ID: brian@tangent.org-20111018170703-cwtp14k5tykbp2xz
Enable syslog and format sql_select

Show diffs side-by-side

added added

removed removed

Lines of Context:
809
809
 
810
810
  /* find a unused table in the open table cache */
811
811
  if (refresh)
 
812
  {
812
813
    *refresh= false;
 
814
  }
813
815
 
814
816
  /* an open table operation needs a lot of the stack space */
815
817
  if (check_stack_overrun(this, STACK_MIN_SIZE_FOR_OPEN, (unsigned char *)&alias))
 
818
  {
816
819
    return NULL;
 
820
  }
817
821
 
818
822
  if (getKilled())
 
823
  {
819
824
    return NULL;
 
825
  }
820
826
 
821
827
  identifier::Table identifier(table_list->getSchemaName(), table_list->getTableName());
822
828
  const identifier::Table::Key &key(identifier.getKey());