| 296 | } |
| 297 | |
| 298 | SQLRETURN SQL_API SQLPrimaryKeys(SQLHSTMT stmt, SQLWCHAR* catalog_name, |
| 299 | SQLSMALLINT catalog_name_length, SQLWCHAR* schema_name, |
| 300 | SQLSMALLINT schema_name_length, SQLWCHAR* table_name, |
| 301 | SQLSMALLINT table_name_length) { |
| 302 | ARROW_LOG(DEBUG) << "SQLPrimaryKeysW called with stmt: " << stmt |
| 303 | << ", catalog_name: " << static_cast<const void*>(catalog_name) |
| 304 | << ", catalog_name_length: " << catalog_name_length |
| 305 | << ", schema_name: " << static_cast<const void*>(schema_name) |
| 306 | << ", schema_name_length: " << schema_name_length |
| 307 | << ", table_name: " << static_cast<const void*>(table_name) |
| 308 | << ", table_name_length: " << table_name_length; |
| 309 | return ODBC::ODBCStatement::ExecuteWithDiagnostics(stmt, SQL_ERROR, [=]() { |
| 310 | throw arrow::flight::sql::odbc::DriverException("SQLPrimaryKeysW is not implemented", |
| 311 | "IM001"); |
| 312 | return SQL_ERROR; |
| 313 | }); |
| 314 | } |
| 315 | |
| 316 | SQLRETURN SQL_API SQLSetStmtAttr(SQLHSTMT stmt, SQLINTEGER attribute, |
| 317 | SQLPOINTER value_ptr, SQLINTEGER stringLength) { |
nothing calls this directly
no test coverage detected