diff options
author | Kent Boortz <kent.boortz@oracle.com> | 2012-06-26 16:30:15 +0200 |
---|---|---|
committer | Kent Boortz <kent.boortz@oracle.com> | 2012-06-26 16:30:15 +0200 |
commit | 3de8d224cf324815b5acef2417896f116b516c39 (patch) | |
tree | 22b339d29c5d38c1ee4be169cf6dd71306b56876 /sql/sql_class.h | |
parent | c45bd024eb46116b89ceddf9818e143607e120ee (diff) | |
download | mariadb-git-3de8d224cf324815b5acef2417896f116b516c39.tar.gz |
Solve a linkage problem with "libmysqld" on several Solaris platforms:
a multiple definition of 'THD::clear_error()' in (at least)
libmysqld.a(lib_sql.o) and libmysqld.a(libfederated_a-ha_federated.o).
Patch provided by Ramil Kalimullin.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 3ecf032db71..5cdb005b517 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -2089,7 +2089,6 @@ public: void add_changed_table(const char *key, long key_length); CHANGED_TABLE_LIST * changed_table_dup(const char *key, long key_length); int send_explain_fields(select_result *result); -#ifndef EMBEDDED_LIBRARY /** Clear the current error, if any. We do not clear is_fatal_error or is_fatal_sub_stmt_error since we @@ -2105,9 +2104,9 @@ public: is_slave_error= 0; DBUG_VOID_RETURN; } +#ifndef EMBEDDED_LIBRARY inline bool vio_ok() const { return net.vio != 0; } #else - void clear_error(); inline bool vio_ok() const { return true; } #endif /** |