~drizzle-developers/ubuntu/karmic/drizzle/ppa

« back to all changes in this revision

Viewing changes to plugin/innobase/include/ut0rnd.ic

  • Committer: Monty Taylor
  • Date: 2010-11-24 18:44:57 UTC
  • mfrom: (1308.1.31 trunk)
  • Revision ID: mordred@inaugust.com-20101124184457-qd6jvoe2wgnvl3yq
Tags: 2010.11.04-0ubuntu1~karmic1
* New upstream release.
* Turn off -Werror for packaging builds. (Closes: #602662)

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        ulint    key,           /*!< in: value to be hashed */
153
153
        ulint    table_size)    /*!< in: hash table size */
154
154
{
 
155
        ut_ad(table_size);
155
156
        key = key ^ UT_HASH_RANDOM_MASK2;
156
157
 
157
158
        return(key % table_size);