summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2007-03-02 09:53:43 -0500
committerunknown <cmiller@zippy.cornsilk.net>2007-03-02 09:53:43 -0500
commita7d83bf623344cd0227008318e90a6d7ce1fb1b1 (patch)
tree1d605915d15cebfa483db8a8f15ade4f2f601478
parent0723eb457eb05ae6d7eeef1907ceef0d52dd8f42 (diff)
parent37dd1c9de4f7d9c7fbcb95458f72ccdef0a79aa2 (diff)
downloadmariadb-git-a7d83bf623344cd0227008318e90a6d7ce1fb1b1.tar.gz
Merge mysqldev@production.mysql.com:/data0/mysqldev/my/build-200702281606-5.0.37/mysql-5.0-release
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-community
-rw-r--r--sql/sql_profile.cc4
-rw-r--r--sql/sql_profile.h12
2 files changed, 8 insertions, 8 deletions
diff --git a/sql/sql_profile.cc b/sql/sql_profile.cc
index 1d38b313bd3..028363f167e 100644
--- a/sql/sql_profile.cc
+++ b/sql/sql_profile.cc
@@ -17,13 +17,13 @@
#include "mysql_priv.h"
#include "my_sys.h"
-#define TIME_FLOAT_DIGITS 7
+#define TIME_FLOAT_DIGITS 9
#define MAX_QUERY_LENGTH 300
bool schema_table_store_record(THD *thd, TABLE *table);
/* Reserved for systems that can't record the function name in source. */
-const char *_db_func_= "<unknown>";
+const char * const _unknown_func_ = "<unknown>";
/**
Connects Information_Schema and Profiling.
diff --git a/sql/sql_profile.h b/sql/sql_profile.h
index 944856a9f80..0b387f2a7cb 100644
--- a/sql/sql_profile.h
+++ b/sql/sql_profile.h
@@ -20,21 +20,21 @@
# if __GNUC__ >= 2
# define __func__ __FUNCTION__
# else
-# define __func__ _db_func_
-extern const char *_db_func_;
+# define __func__ _unknown_func_
+extern const char * const _unknown_func_;
# endif
#elif defined(_MSC_VER)
# if _MSC_VER < 1300
-# define __func__ _db_func_
-extern const char *_db_func_;
+# define __func__ _unknown_func_
+extern const char * const _unknown_func_;
# else
# define __func__ __FUNCTION__
# endif
#elif defined(__BORLANDC__)
# define __func__ __FUNC__
#else
-# define __func__ _db_func_
-extern const char *_db_func_;
+# define __func__ _unknown_func_
+extern const char * const _unknown_func_;
#endif
extern ST_FIELD_INFO query_profile_statistics_info[];