summaryrefslogtreecommitdiff
path: root/plugin/daemon_example
diff options
context:
space:
mode:
authorunknown <monty@mysql.com/narttu.mysql.fi>2007-01-30 13:52:26 +0200
committerunknown <monty@mysql.com/narttu.mysql.fi>2007-01-30 13:52:26 +0200
commit6e501e6548f15d3450ffb122ba1e683f40a4c917 (patch)
tree62763e5b2b8fc594a6350438d3424ff872a91c85 /plugin/daemon_example
parent721e412854cc701b9a23c0a3ca2b84c936877bc2 (diff)
downloadmariadb-git-6e501e6548f15d3450ffb122ba1e683f40a4c917.tar.gz
Fixed problems detected by pushbuild
mysql-test/t/log_state.test: Move disconnect last to avoid sporadic failures in test because 'Quit' command appeared in general log plugin/daemon_example/daemon_example.c: Define __attribute__ to fix compiler error with not gcc compilers sql-common/client.c: Fixed spelling error sql/sql_parse.cc: Added comment
Diffstat (limited to 'plugin/daemon_example')
-rw-r--r--plugin/daemon_example/daemon_example.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/daemon_example/daemon_example.c b/plugin/daemon_example/daemon_example.c
index ed9fac7574f..b70d8972095 100644
--- a/plugin/daemon_example/daemon_example.c
+++ b/plugin/daemon_example/daemon_example.c
@@ -19,11 +19,11 @@
#include <mysql/plugin.h>
/*
-#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
+ Disable __attribute__() on non-gcc compilers.
+*/
+#if !defined(__attribute__) && !defined(__GNUC__)
#define __attribute__(A)
#endif
-*/
-
/*