From a55cd1f1c44de7609a5ef5fe5dd2f37f0b057d4a Mon Sep 17 00:00:00 2001 From: "konstantin@mysql.com" <> Date: Tue, 11 Jan 2005 15:32:23 +0300 Subject: [PATCH] Fixes for two compile-time failures. --- ndb/src/common/transporter/TransporterRegistry.cpp | 2 +- sql/sql_lex.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ndb/src/common/transporter/TransporterRegistry.cpp b/ndb/src/common/transporter/TransporterRegistry.cpp index 9273ad8bc80..fcc7a62d9e9 100644 --- a/ndb/src/common/transporter/TransporterRegistry.cpp +++ b/ndb/src/common/transporter/TransporterRegistry.cpp @@ -1419,6 +1419,6 @@ NdbOut & operator <<(NdbOut & out, SignalHeader & sh){ Transporter* TransporterRegistry::get_transporter(NodeId nodeId) { return theTransporters[nodeId]; -}; +} template class Vector; diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 5929ad5c14b..495fa4a0bd1 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -172,7 +172,7 @@ void lex_start(THD *thd, uchar *buf,uint length) lex->proc_list.first= 0; if (lex->spfuns.records) - hash_reset(&lex->spfuns); + my_hash_reset(&lex->spfuns); } void lex_end(LEX *lex)