~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_checksum.cc

  • Committer: Gustaf Thorslund
  • Date: 2010-11-02 09:28:14 UTC
  • mto: (1911.1.1 build) (1900.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1901.
  • Revision ID: gustaf@thorslund.org-20101102092814-aih84whrkf6925kc
Replaced macros with functions/templates. Part of blueprint:
  https://blueprints.edge.launchpad.net/drizzle/+spec/replace-macro-functions/

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    }
41
41
    case FIELD_VARCHAR:
42
42
    {
43
 
      uint32_t pack_length= HA_VARCHAR_PACKLENGTH(rec->length-1);
 
43
      uint32_t pack_length= ha_varchar_packlength(rec->length-1);
44
44
      if (pack_length == 1)
45
45
        length= (ulong) *(unsigned char*) buf;
46
46
      else