~mordred/drizzle/fix-bell-bugs

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#include "drizzled/time_functions.h"
41
41
#include "drizzled/records.h"
42
42
#include "drizzled/pthread_globals.h"
 
43
#include "drizzled/internal/my_sys.h"
 
44
#include "drizzled/internal/iocache.h"
43
45
 
44
46
extern pid_t current_pid;
45
47
 
1407
1409
 
1408
1410
  if (to->cursor->ha_end_bulk_insert() && error <= 0)
1409
1411
  {
1410
 
    to->print_error(my_errno, MYF(0));
 
1412
    to->print_error(errno, MYF(0));
1411
1413
    error=1;
1412
1414
  }
1413
1415
  to->cursor->extra(HA_EXTRA_NO_IGNORE_DUP_KEY);