~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_check.c

  • Committer: Stewart Smith
  • Date: 2009-03-18 00:29:24 UTC
  • mto: (942.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 945.
  • Revision ID: stewart@flamingspork.com-20090318002924-gixoh4t5mhbw8qyz
make set_if_bigger typesafe for C and C++. Fix up everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4082
4082
      for some weird keys (e.g. FULLTEXT) tmp can be <1 here.
4083
4083
      let's ensure it is not
4084
4084
    */
4085
 
    set_if_bigger(tmp,1);
 
4085
    set_if_bigger(tmp,1ULL);
4086
4086
    if (tmp >= (uint64_t) ~(ulong) 0)
4087
4087
      tmp=(uint64_t) ~(ulong) 0;
4088
4088