|
a/src/rcldb/rclquery.cpp |
|
b/src/rcldb/rclquery.cpp |
|
... |
|
... |
171 |
|
171 |
|
172 |
//#define ISNULL(X) (X).isNull()
|
172 |
//#define ISNULL(X) (X).isNull()
|
173 |
#define ISNULL(X) !(X)
|
173 |
#define ISNULL(X) !(X)
|
174 |
|
174 |
|
175 |
// Prepare query out of user search data
|
175 |
// Prepare query out of user search data
|
176 |
bool Query::setQuery(STD_SHARED_PTR<SearchData> sdata)
|
176 |
bool Query::setQuery(std::shared_ptr<SearchData> sdata)
|
177 |
{
|
177 |
{
|
178 |
LOGDEB("Query::setQuery:\n" );
|
178 |
LOGDEB("Query::setQuery:\n" );
|
179 |
|
179 |
|
180 |
if (!m_db || ISNULL(m_nq)) {
|
180 |
if (!m_db || ISNULL(m_nq)) {
|
181 |
LOGERR("Query::setQuery: not initialised!\n" );
|
181 |
LOGERR("Query::setQuery: not initialised!\n" );
|