Commit e7b38aa7 authored by unknown's avatar unknown
Browse files

Fixes for two compile-time failures.


ndb/src/common/transporter/TransporterRegistry.cpp:
  make it compile with -ansi -pedantic
sql/sql_lex.cc:
  a fix for compile-time failure
parent 7bf677dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1419,6 +1419,6 @@ NdbOut & operator <<(NdbOut & out, SignalHeader & sh){
Transporter*
TransporterRegistry::get_transporter(NodeId nodeId) {
  return theTransporters[nodeId];
};
}

template class Vector<TransporterRegistry::Transporter_interface>;
+1 −1
Original line number Diff line number Diff line
@@ -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)