~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_info.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 10:31:37 UTC
  • mto: (2247.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323103137-lwevis2tfchgu18u
Propogate return void

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#include "myisam_priv.h"
19
19
#include <sys/stat.h>
20
 
#include "drizzled/error.h"
 
20
#include <drizzled/error.h>
21
21
 
22
22
using namespace drizzled;
23
23
 
117
117
 
118
118
void mi_report_error(int errcode, const char *file_name)
119
119
{
 
120
  mi_report_error(errcode, file_name);
 
121
}
 
122
 
 
123
void mi_report_error(drizzled::error_t errcode, const char *file_name)
 
124
{
120
125
  size_t        lgt;
121
126
 
122
127
  if ((lgt= strlen(file_name)) > 64)
123
128
    file_name+= lgt - 64;
124
129
  my_error(errcode, MYF(ME_NOREFRESH), file_name);
125
 
  return;
126
130
}
127
131