mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-12 00:04:54 +08:00
fix(Data): Add using AbstractBinder::bind to prevent hidden virtual warning (#4900)
This commit is contained in:
@@ -34,6 +34,8 @@ class MySQL_API Binder: public Poco::Data::AbstractBinder
|
||||
/// Binds placeholders in the sql query to the provided values. Performs data types mapping.
|
||||
{
|
||||
public:
|
||||
using AbstractBinder::bind;
|
||||
|
||||
typedef SharedPtr<Binder> Ptr;
|
||||
|
||||
Binder();
|
||||
|
||||
@@ -57,6 +57,8 @@ class ODBC_API Binder: public Poco::Data::AbstractBinder
|
||||
/// Binds placeholders in the sql query to the provided values. Performs data types mapping.
|
||||
{
|
||||
public:
|
||||
using AbstractBinder::bind;
|
||||
|
||||
typedef AbstractBinder::Direction Direction;
|
||||
typedef std::map<SQLPOINTER, SQLLEN> ParamMap;
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@ class PostgreSQL_API Binder: public Poco::Data::AbstractBinder
|
||||
/// Allows data type mapping at statement execution time.
|
||||
{
|
||||
public:
|
||||
using AbstractBinder::bind;
|
||||
|
||||
using Ptr = SharedPtr<Binder>;
|
||||
|
||||
Binder();
|
||||
|
||||
@@ -35,6 +35,8 @@ class SQLite_API Binder: public Poco::Data::AbstractBinder
|
||||
/// Binds placeholders in the sql query to the provided values. Performs data types mapping.
|
||||
{
|
||||
public:
|
||||
using AbstractBinder::bind;
|
||||
|
||||
Binder(sqlite3_stmt* pStmt);
|
||||
/// Creates the Binder.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user