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 | 5f86ecbf362bc32ec86d7118288b305af74e2fb3 (patch) | |
tree | 22b339d29c5d38c1ee4be169cf6dd71306b56876 /sql | |
parent | 5c724f7b9430bb3794f6e12709268ce5502104e5 (diff) | |
download | mariadb-git-5f86ecbf362bc32ec86d7118288b305af74e2fb3.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')
-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 /** |