#At file:///export/home/tmp/mysql2/compile-warn/ based on revid:sergey.glukhov@stripped
3315 Olav Sandstaa 2011-04-14
Remove two compile warnings from the Sun Studio compiler in the ICP
implementation in MyISAM.
@ storage/myisam/myisamdef.h
Added C_MODE declartion to index_cond_func_t typedef since this is used in
both C and C++ code.
modified:
storage/myisam/myisamdef.h
=== modified file 'storage/myisam/myisamdef.h'
=== modified file 'storage/myisam/myisamdef.h'
--- a/storage/myisam/myisamdef.h 2011-03-28 08:51:35 +0000
+++ b/storage/myisam/myisamdef.h 2011-04-14 11:33:53 +0000
@@ -226,8 +226,9 @@
uint error;
} MI_BIT_BUFF;
-
+C_MODE_START
typedef ICP_RESULT (*index_cond_func_t)(void *param);
+C_MODE_END
struct st_myisam_info {
MYISAM_SHARE *s; /* Shared between open:s */
Attachment: [text/bzr-bundle] bzr/olav.sandstaa@oracle.com-20110414113353-lujaxs7elgah03ze.bundle