NonBinaryCollationError exported to facilitate black box testing
(schema, table, paginationKey, collation string)
| 258 | |
| 259 | // NonBinaryCollationError exported to facilitate black box testing |
| 260 | func NonBinaryCollationError(schema, table, paginationKey, collation string) error { |
| 261 | return fmt.Errorf("Pagination Key `%s` for %s has non-binary collation '%s'. Binary columns (BINARY, VARBINARY) or string columns with binary collation (e.g., utf8mb4_bin) are required to ensure consistent ordering between MySQL and Ghostferry", paginationKey, QuotedTableNameFromString(schema, table), collation) |
| 262 | } |
| 263 | |
| 264 | func (t *TableSchema) paginationKeyColumn(cascadingPaginationColumnConfig *CascadingPaginationColumnConfig) (*schema.TableColumn, int, error) { |
| 265 | var err error |
no test coverage detected