~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2009-01-22 06:27:45 UTC
  • mto: This revision was merged to the branch mainline in revision 801.
  • Revision ID: brian@tangent.org-20090122062745-i4sn9mvlbsz40uou
More cleanup of binlog.isopen

Show diffs side-by-side

added added

removed removed

Lines of Context:
2986
2986
  if (unlikely(entry->file->implicit_emptied))
2987
2987
  {
2988
2988
    entry->file->implicit_emptied= 0;
2989
 
    if (drizzle_bin_log.is_open())
2990
2989
    {
2991
2990
      char *query, *end;
2992
2991
      uint32_t query_buf_size= 20 + share->db.length + share->table_name.length +1;
3007
3006
      else
3008
3007
      {
3009
3008
        errmsg_printf(ERRMSG_LVL_ERROR, _("When opening HEAP table, could not allocate memory "
3010
 
                          "to write 'DELETE FROM `%s`.`%s`' to the binary log"),
3011
 
                        table_list->db, table_list->table_name);
 
3009
                                          "to write 'DELETE FROM `%s`.`%s`' to replication"),
 
3010
                      table_list->db, table_list->table_name);
3012
3011
        my_error(ER_OUTOFMEMORY, MYF(0), query_buf_size);
3013
3012
        entry->closefrm(false);
3014
3013
        goto err;