Skip to content

[C++][FlightRPC][ODBC] Read booleans for applicable SqlInfoOptions #49500

@alinaliBQ

Description

@alinaliBQ

Describe the enhancement requested

In SQLGetInfo, read the boolean values for SqlInfoOptions::SQL_DDL_SCHEMA and SqlInfoOptions::SQL_DDL_TABLE options, and determine the respective SQLGetInfo return value based on that boolean.

In example code below, bool supports_*_ddl variables are ignored.

case SqlInfoOptions::SQL_DDL_TABLE: {
bool supports_table_ddl =
reinterpret_cast<BooleanScalar*>(scalar->child_value().get())->value;

case SqlInfoOptions::SQL_DDL_SCHEMA: {
bool supports_schema_ddl =
reinterpret_cast<BooleanScalar*>(scalar->child_value().get())->value;

Component(s)

FlightRPC, C++

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions