mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
Fixed bug: Pointers to vector internas were given away and became invalid because of resizing the vector
This commit is contained in:
@@ -251,6 +251,8 @@ public:
|
||||
/// Update linked times
|
||||
|
||||
private:
|
||||
Binder(const Binder&);
|
||||
/// Don't copy the binder
|
||||
|
||||
virtual void bind(std::size_t, const char* const&, Direction)
|
||||
/// Binds a const char ptr.
|
||||
@@ -265,7 +267,7 @@ private:
|
||||
private:
|
||||
|
||||
std::vector<MYSQL_BIND> _bindArray;
|
||||
std::vector<MYSQL_TIME> _dates;
|
||||
std::vector<MYSQL_TIME*> _dates;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user