~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/hp_delete.cc

  • Committer: Brian Aker
  • Date: 2010-10-06 18:16:00 UTC
  • mto: (1818.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1819.
  • Revision ID: brian@tangent.org-20101006181600-q7zuzw31zlq030ra
Convert sql_string to use size_t (this should clean up ICC warnings).

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