From: Date: May 3 2005 1:51pm Subject: bk commit into 4.1 tree (msvensson:1.2222) BUG#10241 List-Archive: http://lists.mysql.com/internals/24534 X-Bug: 10241 Message-Id: <20050503115137.2469825DF87@blaudden.homeip.net> Below is the list of changes that have just been committed into a local 4.1 repository of msvensson. When msvensson does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet 1.2222 05/05/03 13:51:30 msvensson@neptunus.(none) +66 -0 BUG#10241 cygwin port: invalid pragma interface directives - Dont use #pragma interface or #pragma implementation on cygwin sql/tztime.h 1.8 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/tztime.cc 1.17 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/sql_udf.h 1.8 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/sql_udf.cc 1.43 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/sql_string.h 1.56 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/sql_string.cc 1.90 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/sql_select.h 1.75 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/sql_select.cc 1.399 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/sql_list.h 1.30 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/sql_class.h 1.278 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/sql_class.cc 1.196 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/sql_analyse.cc 1.49 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/set_var.h 1.58 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/set_var.cc 1.165 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/protocol.h 1.22 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/protocol.cc 1.101 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/procedure.h 1.17 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/opt_range.h 1.37 05/05/03 13:51:26 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/opt_range.cc 1.135 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/log_event.cc 1.178 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/item_timefunc.h 1.52 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/item_timefunc.cc 1.86 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/item_sum.h 1.79 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/item_sum.cc 1.134 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/item_subselect.h 1.61 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/item_subselect.cc 1.132 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/item_strfunc.h 1.93 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/item_strfunc.cc 1.222 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/item_geofunc.h 1.9 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/item_geofunc.cc 1.20 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/item_func.h 1.123 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/item_func.cc 1.241 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/item_cmpfunc.h 1.106 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/item_cmpfunc.cc 1.186 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/item.h 1.178 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/item.cc 1.199 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/handler.h 1.138 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/handler.cc 1.164 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/ha_ndbcluster.h 1.53 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/ha_ndbcluster.cc 1.152 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/ha_myisammrg.h 1.37 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/ha_myisammrg.cc 1.55 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/ha_myisam.h 1.64 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/ha_myisam.cc 1.156 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/ha_isammrg.h 1.23 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/ha_isammrg.cc 1.17 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/ha_isam.h 1.29 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/ha_isam.cc 1.31 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/ha_innodb.h 1.80 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/ha_innodb.cc 1.193 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/ha_heap.h 1.31 05/05/03 13:51:25 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/ha_heap.cc 1.52 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/ha_blackhole.h 1.3 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/ha_blackhole.cc 1.3 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/ha_berkeley.h 1.69 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/ha_berkeley.cc 1.149 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/field.h 1.128 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/field.cc 1.216 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/examples/ha_tina.cc 1.4 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/examples/ha_example.h 1.9 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/examples/ha_example.cc 1.9 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION sql/examples/ha_archive.h 1.13 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE sql/examples/ha_archive.cc 1.23 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION include/raid.h 1.19 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_INTERFACE include/my_global.h 1.85 05/05/03 13:51:24 msvensson@neptunus.(none) +14 -0 Turn on use of #pragma implementation and #pragma interface if compiled with GCC and platform != Cygwin client/sql_string.cc 1.21 05/05/03 13:51:24 msvensson@neptunus.(none) +1 -1 replace __GNUC__ with USE_PRAGMA_IMPLEMENTATION # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: msvensson # Host: neptunus.(none) # Root: /home/msvensson/mysql/bug10241 --- 1.20/client/sql_string.cc 2005-03-07 09:47:18 +01:00 +++ 1.21/client/sql_string.cc 2005-05-03 13:51:24 +02:00 @@ -16,7 +16,7 @@ /* This file is originally from the mysql distribution. Coded by monty */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.18/include/raid.h 2004-12-16 14:16:24 +01:00 +++ 1.19/include/raid.h 2005-05-03 13:51:24 +02:00 @@ -89,7 +89,7 @@ #ifdef __cplusplus } -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.215/sql/field.cc 2005-04-06 12:12:35 +02:00 +++ 1.216/sql/field.cc 2005-05-03 13:51:24 +02:00 @@ -19,7 +19,7 @@ ** This file implements classes defined in field.h *****************************************************************************/ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.127/sql/field.h 2005-04-29 16:03:18 +02:00 +++ 1.128/sql/field.h 2005-05-03 13:51:24 +02:00 @@ -20,7 +20,7 @@ variables must declare the size_of() member function. */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.148/sql/ha_berkeley.cc 2005-04-01 12:35:47 +02:00 +++ 1.149/sql/ha_berkeley.cc 2005-05-03 13:51:24 +02:00 @@ -47,7 +47,7 @@ */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.68/sql/ha_berkeley.h 2004-09-13 04:14:20 +02:00 +++ 1.69/sql/ha_berkeley.h 2005-05-03 13:51:24 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.51/sql/ha_heap.cc 2005-03-16 00:15:42 +01:00 +++ 1.52/sql/ha_heap.cc 2005-05-03 13:51:24 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.30/sql/ha_heap.h 2004-09-08 00:07:03 +02:00 +++ 1.31/sql/ha_heap.h 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.30/sql/ha_isam.cc 2004-10-01 16:54:02 +02:00 +++ 1.31/sql/ha_isam.cc 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.28/sql/ha_isam.h 2004-07-08 14:45:21 +02:00 +++ 1.29/sql/ha_isam.h 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.16/sql/ha_isammrg.cc 2004-10-01 16:54:02 +02:00 +++ 1.17/sql/ha_isammrg.cc 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.22/sql/ha_isammrg.h 2004-07-08 14:45:21 +02:00 +++ 1.23/sql/ha_isammrg.h 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.155/sql/ha_myisam.cc 2005-04-01 18:48:27 +02:00 +++ 1.156/sql/ha_myisam.cc 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.63/sql/ha_myisam.h 2005-02-04 15:23:58 +01:00 +++ 1.64/sql/ha_myisam.h 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.54/sql/ha_myisammrg.cc 2005-04-28 18:28:44 +02:00 +++ 1.55/sql/ha_myisammrg.cc 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.36/sql/ha_myisammrg.h 2004-12-27 13:01:59 +01:00 +++ 1.37/sql/ha_myisammrg.h 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.163/sql/handler.cc 2005-04-28 10:49:15 +02:00 +++ 1.164/sql/handler.cc 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* Handler-calling-functions */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.137/sql/handler.h 2005-04-14 03:25:28 +02:00 +++ 1.138/sql/handler.h 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* Definitions for parameters to do with handler-routines */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.198/sql/item.cc 2005-04-10 09:39:17 +02:00 +++ 1.199/sql/item.cc 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.177/sql/item.h 2005-04-29 16:03:19 +02:00 +++ 1.178/sql/item.h 2005-05-03 13:51:25 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.185/sql/item_cmpfunc.cc 2005-03-31 01:44:46 +02:00 +++ 1.186/sql/item_cmpfunc.cc 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* This file defines all compare functions */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.105/sql/item_cmpfunc.h 2005-03-13 16:34:33 +01:00 +++ 1.106/sql/item_cmpfunc.h 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* compare and test functions */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.240/sql/item_func.cc 2005-04-29 16:03:21 +02:00 +++ 1.241/sql/item_func.cc 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* This file defines all numerical functions */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.122/sql/item_func.h 2005-04-29 16:03:21 +02:00 +++ 1.123/sql/item_func.h 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* Function items used by mysql */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.221/sql/item_strfunc.cc 2005-03-16 13:52:31 +01:00 +++ 1.222/sql/item_strfunc.cc 2005-05-03 13:51:25 +02:00 @@ -20,7 +20,7 @@ ** (This shouldn't be needed) */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.92/sql/item_strfunc.h 2005-03-24 15:08:03 +01:00 +++ 1.93/sql/item_strfunc.h 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* This file defines all string functions */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.133/sql/item_sum.cc 2005-02-24 02:50:33 +01:00 +++ 1.134/sql/item_sum.cc 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* Sum functions (COUNT, MIN...) */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.78/sql/item_sum.h 2005-02-22 11:51:20 +01:00 +++ 1.79/sql/item_sum.h 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* classes for sum functions */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.85/sql/item_timefunc.cc 2005-04-25 09:25:37 +02:00 +++ 1.86/sql/item_timefunc.cc 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* This file defines all time functions */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.51/sql/item_timefunc.h 2005-01-26 20:24:59 +01:00 +++ 1.52/sql/item_timefunc.h 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* Function items used by mysql */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.177/sql/log_event.cc 2005-03-17 17:00:41 +01:00 +++ 1.178/sql/log_event.cc 2005-05-03 13:51:25 +02:00 @@ -16,7 +16,7 @@ #ifndef MYSQL_CLIENT -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif #include "mysql_priv.h" --- 1.100/sql/protocol.cc 2005-04-29 23:05:12 +02:00 +++ 1.101/sql/protocol.cc 2005-05-03 13:51:26 +02:00 @@ -19,7 +19,7 @@ The actual communction is handled by the net_xxx functions in net_serv.cc */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.134/sql/opt_range.cc 2005-04-18 03:21:41 +02:00 +++ 1.135/sql/opt_range.cc 2005-05-03 13:51:25 +02:00 @@ -23,7 +23,7 @@ */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.36/sql/opt_range.h 2004-11-16 21:57:58 +01:00 +++ 1.37/sql/opt_range.h 2005-05-03 13:51:26 +02:00 @@ -20,7 +20,7 @@ #ifndef _opt_range_h #define _opt_range_h -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.16/sql/procedure.h 2005-02-22 11:51:20 +01:00 +++ 1.17/sql/procedure.h 2005-05-03 13:51:26 +02:00 @@ -17,7 +17,7 @@ /* When using sql procedures */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.48/sql/sql_analyse.cc 2005-01-24 15:48:17 +01:00 +++ 1.49/sql/sql_analyse.cc 2005-05-03 13:51:26 +02:00 @@ -23,7 +23,7 @@ ** - type set is out of optimization yet */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.195/sql/sql_class.cc 2005-02-28 16:53:07 +01:00 +++ 1.196/sql/sql_class.cc 2005-05-03 13:51:26 +02:00 @@ -22,7 +22,7 @@ ** *****************************************************************************/ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.277/sql/sql_class.h 2005-02-12 20:58:51 +01:00 +++ 1.278/sql/sql_class.h 2005-05-03 13:51:26 +02:00 @@ -17,7 +17,7 @@ /* Classes in mysql */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.29/sql/sql_list.h 2005-02-15 01:55:37 +01:00 +++ 1.30/sql/sql_list.h 2005-05-03 13:51:26 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.398/sql/sql_select.cc 2005-04-30 02:45:11 +02:00 +++ 1.399/sql/sql_select.cc 2005-05-03 13:51:26 +02:00 @@ -17,7 +17,7 @@ /* mysql_select and join optimization */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.74/sql/sql_select.h 2005-04-18 03:21:41 +02:00 +++ 1.75/sql/sql_select.h 2005-05-03 13:51:26 +02:00 @@ -17,7 +17,7 @@ /* classes to use when handling where clause */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.89/sql/sql_string.cc 2004-11-01 15:43:49 +01:00 +++ 1.90/sql/sql_string.cc 2005-05-03 13:51:26 +02:00 @@ -16,7 +16,7 @@ /* This file is originally from the mysql distribution. Coded by monty */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.55/sql/sql_string.h 2005-03-15 14:15:43 +01:00 +++ 1.56/sql/sql_string.h 2005-05-03 13:51:26 +02:00 @@ -16,7 +16,7 @@ /* This file is originally from the mysql distribution. Coded by monty */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.42/sql/sql_udf.cc 2005-04-09 01:21:36 +02:00 +++ 1.43/sql/sql_udf.cc 2005-05-03 13:51:26 +02:00 @@ -28,7 +28,7 @@ ** dynamic functions, so this shouldn't be a real problem. */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: implement sql_udf.h #endif --- 1.7/sql/sql_udf.h 2004-11-06 06:37:27 +01:00 +++ 1.8/sql/sql_udf.h 2005-05-03 13:51:26 +02:00 @@ -17,7 +17,7 @@ /* This file defines structures needed by udf functions */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface #endif --- 1.131/sql/item_subselect.cc 2005-03-30 09:07:04 +02:00 +++ 1.132/sql/item_subselect.cc 2005-05-03 13:51:25 +02:00 @@ -22,7 +22,7 @@ (sql_select.h/sql_select.cc) */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.60/sql/item_subselect.h 2005-03-31 10:47:31 +02:00 +++ 1.61/sql/item_subselect.h 2005-05-03 13:51:25 +02:00 @@ -16,7 +16,7 @@ /* subselect Item */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.22/sql/examples/ha_archive.cc 2005-04-28 10:49:15 +02:00 +++ 1.23/sql/examples/ha_archive.cc 2005-05-03 13:51:24 +02:00 @@ -14,7 +14,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.12/sql/examples/ha_archive.h 2005-04-28 10:49:15 +02:00 +++ 1.13/sql/examples/ha_archive.h 2005-05-03 13:51:24 +02:00 @@ -14,7 +14,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.3/sql/examples/ha_tina.cc 2004-10-18 08:32:50 +02:00 +++ 1.4/sql/examples/ha_tina.cc 2005-05-03 13:51:24 +02:00 @@ -38,7 +38,7 @@ -Brian */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.8/sql/examples/ha_example.cc 2004-10-18 08:32:50 +02:00 +++ 1.9/sql/examples/ha_example.cc 2005-05-03 13:51:24 +02:00 @@ -63,7 +63,7 @@ -Brian */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.8/sql/examples/ha_example.h 2004-07-08 14:45:21 +02:00 +++ 1.9/sql/examples/ha_example.h 2005-05-03 13:51:24 +02:00 @@ -21,7 +21,7 @@ that you can implement. */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.2/sql/ha_blackhole.cc 2005-03-25 01:07:54 +01:00 +++ 1.3/sql/ha_blackhole.cc 2005-05-03 13:51:24 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.2/sql/ha_blackhole.h 2005-03-25 01:07:54 +01:00 +++ 1.3/sql/ha_blackhole.h 2005-05-03 13:51:24 +02:00 @@ -14,7 +14,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.16/sql/tztime.cc 2005-01-28 07:32:34 +01:00 +++ 1.17/sql/tztime.cc 2005-05-03 13:51:26 +02:00 @@ -20,7 +20,7 @@ (We will refer to this code as to elsie-code further.) */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.7/sql/tztime.h 2004-12-09 11:31:41 +01:00 +++ 1.8/sql/tztime.h 2005-05-03 13:51:26 +02:00 @@ -15,7 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class interface */ #endif --- 1.151/sql/ha_ndbcluster.cc 2005-04-29 11:37:15 +02:00 +++ 1.152/sql/ha_ndbcluster.cc 2005-05-03 13:51:25 +02:00 @@ -20,7 +20,7 @@ NDB Cluster */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.52/sql/ha_ndbcluster.h 2005-04-27 18:17:17 +02:00 +++ 1.53/sql/ha_ndbcluster.h 2005-05-03 13:51:25 +02:00 @@ -21,7 +21,7 @@ /* The class defining a handle to an NDB Cluster table */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.192/sql/ha_innodb.cc 2005-04-19 07:22:57 +02:00 +++ 1.193/sql/ha_innodb.cc 2005-05-03 13:51:25 +02:00 @@ -28,7 +28,7 @@ in Windows? */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.79/sql/ha_innodb.h 2005-04-07 11:16:34 +02:00 +++ 1.80/sql/ha_innodb.h 2005-05-03 13:51:25 +02:00 @@ -21,7 +21,7 @@ Innodb */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.84/include/my_global.h 2005-04-29 16:03:15 +02:00 +++ 1.85/include/my_global.h 2005-05-03 13:51:24 +02:00 @@ -43,6 +43,20 @@ #define HAVE_ERRNO_AS_DEFINE #endif /* __CYGWIN__ */ +#if defined(__GNUC__) && !defined(__GYGWIN__) +/* + If this is compiled by GCC use + #pragma interface + and + #pragma implementation + + But not if compilation is done on Cygwin, since pragma interface is broken +*/ + +#define USE_PRAGMA_INTERFACE +#define USE_PRAGMA_IMPLEMENTATION +#endif + #if defined(i386) && !defined(__i386__) #define __i386__ #endif --- 1.21/sql/protocol.h 2004-11-02 19:13:23 +01:00 +++ 1.22/sql/protocol.h 2005-05-03 13:51:26 +02:00 @@ -14,7 +14,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.164/sql/set_var.cc 2005-04-16 02:40:27 +02:00 +++ 1.165/sql/set_var.cc 2005-05-03 13:51:26 +02:00 @@ -48,7 +48,7 @@ new attribute. */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.57/sql/set_var.h 2005-02-17 12:04:00 +01:00 +++ 1.58/sql/set_var.h 2005-05-03 13:51:26 +02:00 @@ -16,7 +16,7 @@ /* Classes to support the SET command */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif --- 1.19/sql/item_geofunc.cc 2004-12-09 11:31:40 +01:00 +++ 1.20/sql/item_geofunc.cc 2005-05-03 13:51:25 +02:00 @@ -17,7 +17,7 @@ /* This file defines all spatial functions */ -#ifdef __GNUC__ +#ifdef USE_PRAGMA_IMPLEMENTATION #pragma implementation // gcc: Class implementation #endif --- 1.8/sql/item_geofunc.h 2004-09-22 19:36:50 +02:00 +++ 1.9/sql/item_geofunc.h 2005-05-03 13:51:25 +02:00 @@ -19,7 +19,7 @@ #ifdef HAVE_SPATIAL -#ifdef __GNUC__ +#ifdef USE_PRAGMA_INTERFACE #pragma interface /* gcc class implementation */ #endif