~mdcallag/+junk/5.1-map

« back to all changes in this revision

Viewing changes to storage/ndb/src/common/debugger/EventLogger.cpp

  • Committer: msvensson at pilot
  • Date: 2007-04-24 09:11:45 UTC
  • mfrom: (2469.1.106)
  • Revision ID: sp1r-msvensson@pilot.blaudden-20070424091145-10463
Merge pilot.blaudden:/home/msvensson/mysql/my51-m-mysql_upgrade
into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint

Show diffs side-by-side

added added

removed removed

Lines of Context:
744
744
                       "Event buffer status: used=%d%s(%d%) alloc=%d%s(%d%) "
745
745
                       "max=%d%s apply_gci=%lld latest_gci=%lld",
746
746
                       used, used_unit,
747
 
                       theData[2] ? (theData[1]*100)/theData[2] : 0,
 
747
                       theData[2] ? (Uint32)((((Uint64)theData[1])*100)/theData[2]) : 0,
748
748
                       alloc, alloc_unit,
749
 
                       theData[3] ? (theData[2]*100)/theData[3] : 0,
 
749
                       theData[3] ? (Uint32)((((Uint64)theData[2])*100)/theData[3]) : 0,
750
750
                       max_, max_unit,
751
751
                       theData[4]+(((Uint64)theData[5])<<32),
752
752
                       theData[6]+(((Uint64)theData[7])<<32));