mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-25 14:29:22 -05:00
Introduce a new way to handle query responses allowing to deal with races: - bind reponse with request, - handle responses with an observer-like interface. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
14 lines
332 B
C++
14 lines
332 B
C++
#include "Record.hpp"
|
|
#include <Common/Query.hpp>
|
|
#include <log/log.hpp>
|
|
|
|
namespace db
|
|
{
|
|
|
|
std::unique_ptr<QueryResult> Interface::runQuery(std::shared_ptr<db::Query> query)
|
|
{
|
|
LOG_DEBUG("Query not handled! debugInfo: %s", query ? query->debugInfo().c_str() : "empty");
|
|
return nullptr;
|
|
}
|
|
} // namespace db
|