| 106 | } |
| 107 | |
| 108 | void CheckRemoteSQLColumns( |
| 109 | SQLHSTMT stmt, const std::wstring& expected_schema, |
| 110 | const std::wstring& expected_table, const std::wstring& expected_column, |
| 111 | const SQLINTEGER& expected_data_type, const std::wstring& expected_type_name, |
| 112 | const SQLINTEGER& expected_column_size, const SQLINTEGER& expected_buffer_length, |
| 113 | const SQLSMALLINT& expected_decimal_digits, |
| 114 | const SQLSMALLINT& expected_num_prec_radix, const SQLSMALLINT& expected_nullable, |
| 115 | const SQLSMALLINT& expected_sql_data_type, const SQLSMALLINT& expected_date_time_sub, |
| 116 | const SQLINTEGER& expected_octet_char_length, |
| 117 | const SQLINTEGER& expected_ordinal_position, |
| 118 | const std::wstring& expected_is_nullable) { |
| 119 | CheckNullColumnW(stmt, 1); // catalog |
| 120 | CheckStringColumnW(stmt, 2, expected_schema); // schema |
| 121 | CheckSQLColumns(stmt, expected_table, expected_column, expected_data_type, |
| 122 | expected_type_name, expected_column_size, expected_buffer_length, |
| 123 | expected_decimal_digits, expected_num_prec_radix, expected_nullable, |
| 124 | expected_sql_data_type, expected_date_time_sub, |
| 125 | expected_octet_char_length, expected_ordinal_position, |
| 126 | expected_is_nullable); |
| 127 | } |
| 128 | |
| 129 | void CheckSQLColAttribute(SQLHSTMT stmt, SQLUSMALLINT idx, |
| 130 | const std::string& expected_column_name, |
no test coverage detected