~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/hp_delete.cc

  • Committer: Lee Bieber
  • Date: 2011-01-12 02:31:03 UTC
  • mfrom: (2068.7.5 session-fix)
  • mto: This revision was merged to the branch mainline in revision 2076.
  • Revision ID: kalebral@gmail.com-20110112023103-nmz26cv1j32jc6n3
Merge Brian - fix bug 527084 - DROP TABLE: getTableDefiniton returns EEXIST but doDropTable returns ENOENT leads to SIGSEGV

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
  test_active(info);
27
27
 
28
28
  if (info->opt_flag & READ_CHECK_USED)
29
 
    return(errno);                      /* Record changed */
 
29
    return(errno);   /* Record changed */
30
30
  share->changed=1;
31
31
 
32
32
  if ( --(share->records) < share->blength >> 1) share->blength>>=1;
97
97
    gpos=pos;
98
98
    if (!(pos=pos->next_key))
99
99
    {
100
 
      return(errno=HA_ERR_CRASHED);     /* This shouldn't happend */
 
100
      return(errno= drizzled::HA_ERR_CRASHED);  /* This shouldn't happend */
101
101
    }
102
102
  }
103
103