List:Commits« Previous MessageNext Message »
From:marko.makela Date:June 24 2010 6:01am
Subject:bzr commit into mysql-trunk-innodb branch (marko.makela:3118)
View as plain text  
#At file:///home/marko/innobase/dev/mysql2a/5.5-innodb/ based on revid:marko.makela@strippedqnmo0j7hj6md

 3118 Marko Mäkelä	2010-06-24
      ut_ull_create(): Fix a typo in ut_ad(): ULINT32_MASK instead of ULINT32_MAX.

    modified:
      storage/innobase/include/ut0byte.ic
=== modified file 'storage/innobase/include/ut0byte.ic'
--- a/storage/innobase/include/ut0byte.ic	revid:marko.makela@stripped6md
+++ b/storage/innobase/include/ut0byte.ic	revid:marko.makela@stripped
@@ -33,8 +33,8 @@ ut_ull_create(
 	ulint	high,	/*!< in: high-order 32 bits */
 	ulint	low)	/*!< in: low-order 32 bits */
 {
-	ut_ad(high <= ULINT32_MAX);
-	ut_ad(low <= ULINT32_MAX);
+	ut_ad(high <= ULINT32_MASK);
+	ut_ad(low <= ULINT32_MASK);
 	return(((ib_uint64_t) high) << 32 | low);
 }
 

Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20100624060146-enwqipupmqrghgcq.bundle
Thread
bzr commit into mysql-trunk-innodb branch (marko.makela:3118) marko.makela24 Jun