3443 Tor Didriksen 2011-09-20
Add new functions to udf_example.def so they will be exported by dll's
modified:
sql/udf_example.def
3442 Tor Didriksen 2011-09-20
Remove the ifdef STANDARD stuff
(the flag was removed from configure on Fri 2006-03-10 12:12:08 +0100)
Include stl headers *after* my_global, trying to fix broken build on solaris:
the build broke on
SunOS takk 5.10 Generic_120011-14 sun4u sparc SUNW,SPARC-Enterprise
"/usr/include/floatingpoint.h", line 164: Error: FILE is not defined.
in /usr/include/floatingpoint.h
we find this spaghetti:
#ifdef __STDC__
#include <stdio_tag.h>
#if __cplusplus >= 199711L
namespace std {
#endif
#if !defined(_FILEDEFED) || __cplusplus >= 199711L
#define _FILEDEFED
typedef __FILE FILE;
#endif
#if __cplusplus >= 199711L
} // namespace std
#define _FLOATINGPOINT_FILE std::FILE
#else
#define _FLOATINGPOINT_FILE FILE
#endif
#endif /* defined(__STDC__) */
modified:
sql/udf_example.cc
=== modified file 'sql/udf_example.def'
--- a/sql/udf_example.def 2007-10-29 14:01:40 +0000
+++ b/sql/udf_example.def 2011-09-20 09:11:14 +0000
@@ -25,3 +25,8 @@ EXPORTS
is_const_init
check_const_len
check_const_len_init
+ my_median_init
+ my_median_deinit
+ my_median_add
+ my_median_clear
+ my_median
No bundle (reason: useless for push emails).
| Thread |
|---|
| • bzr push into mysql-trunk branch (tor.didriksen:3442 to 3443) | Tor Didriksen | 20 Sep |