Skip to content

Statement execution integration tests refactor #271

@sachinpro

Description

@sachinpro

Tests utils in statement.cc like InsertStatement, InsertDirectStatement and InsertStatementUsingDescriptor should be refactored:

  1. The signature should be something like <function name>(std::shared_ptr<ODBCHandles> conn, std::string query, std::vector<std::string> data) similar to InsertDataWithSqlPut.
  2. The caller should verify the inserted data by fetching.

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions