~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.cc

Merge Gustaf - replace macros functions

Show diffs side-by-side

added added

removed removed

Lines of Context:
910
910
    case 1: return 1 << FIELDFLAG_PACK_SHIFT;
911
911
    case 2: assert(1);
912
912
    case 3: assert(1);
913
 
    case 4: return f_settype((uint32_t) DRIZZLE_TYPE_LONG);
914
 
    case 8: return f_settype((uint32_t) DRIZZLE_TYPE_LONGLONG);
 
913
    case 4: return f_settype(DRIZZLE_TYPE_LONG);
 
914
    case 8: return f_settype(DRIZZLE_TYPE_LONGLONG);
915
915
  }
916
916
  return 0;                                     // This shouldn't happen
917
917
}