~ubuntu-branches/ubuntu/hardy/mysql-dfsg-5.0/hardy-updates

« back to all changes in this revision

Viewing changes to innobase/include/rem0rec.ic

  • Committer: Bazaar Package Importer
  • Author(s): sean finney
  • Date: 2007-05-13 12:32:45 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20070513123245-8c3l187dk34cz2ar
Tags: 5.0.41-2
the previous "translation changes" inadvertently introduced unrelated
changes in the package control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
982
982
{
983
983
        ut_ad(rec_offs_validate(NULL, NULL, offsets));
984
984
        ut_ad(n < rec_offs_n_fields(offsets));
 
985
        if (!n) {
 
986
                return(rec_offs_base(offsets)[1 + n] & REC_OFFS_MASK);
 
987
        }
985
988
        return((rec_offs_base(offsets)[1 + n] - rec_offs_base(offsets)[n])
986
989
                        & REC_OFFS_MASK);
987
990
}