mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
fixed GH #376: Defect: checking null value when using the same statement multiple times.
This commit is contained in:
@@ -220,6 +220,11 @@ public:
|
|||||||
return new Preparation<T>(pPrep, pos, _default);
|
return new Preparation<T>(pPrep, pos, _default);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void reset()
|
||||||
|
{
|
||||||
|
_nulls.clear();
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
const std::vector<T>& result() const
|
const std::vector<T>& result() const
|
||||||
@@ -306,6 +311,11 @@ public:
|
|||||||
return new Preparation<bool>(pPrep, pos, _default);
|
return new Preparation<bool>(pPrep, pos, _default);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void reset()
|
||||||
|
{
|
||||||
|
_nulls.clear();
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
const std::vector<bool>& result() const
|
const std::vector<bool>& result() const
|
||||||
@@ -390,6 +400,11 @@ public:
|
|||||||
return new Preparation<T>(pPrep, pos, _default);
|
return new Preparation<T>(pPrep, pos, _default);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void reset()
|
||||||
|
{
|
||||||
|
_nulls.clear();
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
const std::list<T>& result() const
|
const std::list<T>& result() const
|
||||||
@@ -474,6 +489,11 @@ public:
|
|||||||
return new Preparation<T>(pPrep, pos, _default);
|
return new Preparation<T>(pPrep, pos, _default);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void reset()
|
||||||
|
{
|
||||||
|
_nulls.clear();
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
const std::deque<T>& result() const
|
const std::deque<T>& result() const
|
||||||
@@ -522,6 +542,7 @@ public:
|
|||||||
|
|
||||||
void reset()
|
void reset()
|
||||||
{
|
{
|
||||||
|
Extraction<C>::reset();
|
||||||
_pColumn->reset();
|
_pColumn->reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user