Skip to content

Commit

Permalink
Rename CollationID -> CollationId
Browse files Browse the repository at this point in the history
  • Loading branch information
blackbeam committed May 12, 2024
1 parent a5b3530 commit 2c38c4c
Show file tree
Hide file tree
Showing 3 changed files with 910 additions and 881 deletions.
12 changes: 6 additions & 6 deletions src/binlog/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ mod tests {

use crate::{
binlog::{events::RowsEventData, value::BinlogValue},
collations::CollationID,
collations::CollationId,
constants::ColumnFlags,
proto::MySerialize,
value::Value,
Expand Down Expand Up @@ -786,11 +786,11 @@ mod tests {
}

for (col, charset) in columns.iter().zip([
CollationID::UNKNOWN_COLLATION_ID,
CollationID::UTF8MB4_GENERAL_CI,
CollationID::UTF8MB4_GENERAL_CI,
CollationID::BINARY,
CollationID::UNKNOWN_COLLATION_ID,
CollationId::UNKNOWN_COLLATION_ID,
CollationId::UTF8MB4_GENERAL_CI,
CollationId::UTF8MB4_GENERAL_CI,
CollationId::BINARY,
CollationId::UNKNOWN_COLLATION_ID,
]) {
assert_eq!(col.character_set(), charset as u16);
}
Expand Down
Loading

0 comments on commit 2c38c4c

Please sign in to comment.