Tests utils in statement.cc like InsertStatement, InsertDirectStatement and InsertStatementUsingDescriptor should be refactored:
- The signature should be something like
<function name>(std::shared_ptr<ODBCHandles> conn, std::string query, std::vector<std::string> data) similar to InsertDataWithSqlPut.
- The caller should verify the inserted data by fetching.
Tests utils in statement.cc like
InsertStatement,InsertDirectStatementandInsertStatementUsingDescriptorshould be refactored:<function name>(std::shared_ptr<ODBCHandles> conn, std::string query, std::vector<std::string> data)similar toInsertDataWithSqlPut.