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