Skip to content
Snippets Groups Projects
Commit 5d2bfdd2 authored by Marco De Marco's avatar Marco De Marco
Browse files

Rowset not cleaned after empty fix

parent c2ba2ed8
No related branches found
No related tags found
No related merge requests found
...@@ -253,7 +253,7 @@ ResponseSP ProtocolManager::prepareMetadata(RequestSP request_sp) ...@@ -253,7 +253,7 @@ ResponseSP ProtocolManager::prepareMetadata(RequestSP request_sp)
boost::posix_time::ptime ptTimestamp = boost::posix_time::ptime ptTimestamp =
boost::posix_time::ptime_from_tm(tmTimestamp); boost::posix_time::ptime_from_tm(tmTimestamp);
DEBUG_STREAM << "ProtocolManager::prepareMetadata() Searching in " INFO_STREAM << "ProtocolManager::prepareMetadata() Searching in "
<< m_validatedSchema << "." << m_validatedTable << " timestamp " << m_validatedSchema << "." << m_validatedTable << " timestamp "
<< boost::posix_time::to_simple_string(ptTimestamp) << boost::posix_time::to_simple_string(ptTimestamp)
<< " from " << m_remoteEndpoint << endl; << " from " << m_remoteEndpoint << endl;
...@@ -277,6 +277,8 @@ ResponseSP ProtocolManager::prepareMetadata(RequestSP request_sp) ...@@ -277,6 +277,8 @@ ResponseSP ProtocolManager::prepareMetadata(RequestSP request_sp)
{ {
metadataRes->set_state(Response::Metadata::ACCEPTED); metadataRes->set_state(Response::Metadata::ACCEPTED);
metadataRes->set_status("No more data"); metadataRes->set_status("No more data");
m_rowSet_sp.reset();
} }
} }
catch(std::exception& ex) catch(std::exception& ex)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment