~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.cc

  • Committer: Gustaf Thorslund
  • Date: 2010-11-06 08:18:59 UTC
  • mto: (1911.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1912.
  • Revision ID: gustaf@thorslund.org-20101106081859-tbil99no12yz8fn6
Replaced some more macro 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
}