~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/set_var.cc

  • Committer: Brian Aker
  • Date: 2008-07-07 16:07:49 UTC
  • mfrom: (80.1.1 food)
  • Revision ID: brian@tangent.org-20080707160749-qj89fnnwufz4xgop
Clean up install, we no longer have system tables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1454
1454
      For when the enum is made to contain 64 elements, as 1ULL<<64 is
1455
1455
      undefined, we guard with a "count<64" test.
1456
1456
    */
1457
 
    if (unlikely((tmp >= ((ULL(1)) << enum_names->count)) &&
 
1457
    if (unlikely((tmp >= ((1ULL) << enum_names->count)) &&
1458
1458
                 (enum_names->count < 64)))
1459
1459
    {
1460
1460
      llstr(tmp, buff);