~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_info.cc

  • Committer: Brian Aker
  • Date: 2010-08-12 17:19:46 UTC
  • mfrom: (1701.1.1 turn-off-csv)
  • Revision ID: brian@tangent.org-20100812171946-n44naaqhg27gehlh
MErge Monty, remove CSV from auto-build

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
/* Return useful base information for an open table */
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
 
{
125
120
  size_t        lgt;
126
121
 
127
122
  if ((lgt= strlen(file_name)) > 64)
128
123
    file_name+= lgt - 64;
129
124
  my_error(errcode, MYF(ME_NOREFRESH), file_name);
 
125
  return;
130
126
}
131
127