#At file:///users/raysonh/5.2/shared_repository_directory/mysql-5.2/
2772 rayson Ho 2008-10-13
Performance: Enable inlining for Sun Studio.
modified:
storage/innobase/include/univ.i
=== modified file 'storage/innobase/include/univ.i'
--- a/storage/innobase/include/univ.i 2008-03-27 01:40:45 +0000
+++ b/storage/innobase/include/univ.i 2008-10-13 03:07:53 +0000
@@ -58,7 +58,7 @@ of the 32-bit x86 assembler in mutex ope
/* We only try to do explicit inlining of functions with gcc and
Microsoft Visual C++ */
-# if !defined(__GNUC__)
+# if !defined(__GNUC__) && !( defined(sun) || defined(__sun) )
# undef UNIV_MUST_NOT_INLINE /* Remove compiler warning */
# define UNIV_MUST_NOT_INLINE
# endif
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (raysonh:2772) | rayson Ho | 13 Oct |