| 87 | } |
| 88 | |
| 89 | void CheckMockSQLColumns( |
| 90 | SQLHSTMT stmt, const std::wstring& expected_catalog, |
| 91 | const std::wstring& expected_table, const std::wstring& expected_column, |
| 92 | const SQLINTEGER& expected_data_type, const std::wstring& expected_type_name, |
| 93 | const SQLINTEGER& expected_column_size, const SQLINTEGER& expected_buffer_length, |
| 94 | const SQLSMALLINT& expected_decimal_digits, |
| 95 | const SQLSMALLINT& expected_num_prec_radix, const SQLSMALLINT& expected_nullable, |
| 96 | const SQLSMALLINT& expected_sql_data_type, const SQLSMALLINT& expected_date_time_sub, |
| 97 | const SQLINTEGER& expected_octet_char_length, |
| 98 | const SQLINTEGER& expected_ordinal_position, |
| 99 | const std::wstring& expected_is_nullable) { |
| 100 | CheckStringColumnW(stmt, 1, expected_catalog); // catalog |
| 101 | CheckNullColumnW(stmt, 2); // schema |
| 102 | |
| 103 | CheckSQLColumns(stmt, expected_table, expected_column, expected_data_type, |
| 104 | expected_type_name, expected_column_size, expected_buffer_length, |
| 105 | expected_decimal_digits, expected_num_prec_radix, expected_nullable, |
| 106 | expected_sql_data_type, expected_date_time_sub, |
| 107 | expected_octet_char_length, expected_ordinal_position, |
| 108 | expected_is_nullable); |
| 109 | } |
| 110 | |
| 111 | void CheckRemoteSQLColumns( |
| 112 | SQLHSTMT stmt, const std::wstring& expected_schema, |
no test coverage detected