~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/hp_delete.cc

  • Committer: Stewart Smith
  • Date: 2010-11-07 04:22:31 UTC
  • mto: (1911.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1912.
  • Revision ID: stewart@flamingspork.com-20101107042231-ola4sl7j0qvg58tz
fix ARCHIVE storage engine calling exit (lintian warning). Was because we were linking in libinternal into libazio, which links into archive plugin. Just link libinternal into the command line utilities.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2000-2002, 2004-2006 MySQL AB
 
1
/* Copyright (C) 2000-2002, 2004-200 MySQL AB
2
2
 
3
3
   This program is free software; you can redistribute it and/or modify
4
4
   it under the terms of the GNU General Public License as published by
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= drizzled::HA_ERR_CRASHED);  /* This shouldn't happend */
 
100
      return(errno=HA_ERR_CRASHED);     /* This shouldn't happend */
101
101
    }
102
102
  }
103
103