#At file:///Users/mz/mysql/ndb-6.3-ndbjtie/ based on
revid:martin.zaun@stripped
3102 Martin Zaun 2009-11-07 [merge]
ndbjtie - merge from ndb-6.3-ndbjtie-automake to ndb-6.3-ndbjtie.
modified:
storage/ndb/ndbjtie/utils/helpers.hpp
=== modified file 'storage/ndb/ndbjtie/utils/helpers.hpp'
--- a/storage/ndb/ndbjtie/utils/helpers.hpp 2009-10-31 07:44:53 +0000
+++ b/storage/ndb/ndbjtie/utils/helpers.hpp 2009-11-07 09:20:20 +0000
@@ -41,12 +41,14 @@ using std::flush;
// gcc: crashes when printing source code file number:
// << ", line: " << (__LINE__)
-// so, we use C99's __func__ and also convert to string using sprintf()
+// so, we use C99's __func__ and also convert to string using sprintf().
+// Solaris: unfortunately __func__ is not supported by some C++ compilers
+// so we comment it out but leave the line here for debugging
+// << ", function: " << (__func__)
#define ABORT_ERROR(message) \
do { char l[1024]; \
sprintf(l, "%d", __LINE__); \
cout << "!!! error, file: " << (__FILE__) \
- << ", function: " << (__func__) \
<< ", line: " << l \
<< ", msg: " << message << "." << endl;
\
exit(-1); \
Attachment: [text/bzr-bundle] bzr/martin.zaun@sun.com-20091107092129-hnsgksk6iq2819yv.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-6.3-ndbjtie branch (martin.zaun:3102) | Martin Zaun | 7 Nov 2009 |