diff --git a/Cargo.toml b/Cargo.toml index 081e6491..9d8ccf95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ license = "MIT/Apache-2.0" name = "tiberius" readme = "README.md" repository = "https://github.com/prisma/tiberius" -version = "0.12.2" +version = "0.12.3" [workspace] members = ["runtimes-macro"] diff --git a/src/tds/codec/token/token_col_metadata.rs b/src/tds/codec/token/token_col_metadata.rs index 53ffdf1c..ade75251 100644 --- a/src/tds/codec/token/token_col_metadata.rs +++ b/src/tds/codec/token/token_col_metadata.rs @@ -25,7 +25,8 @@ pub struct MetaDataColumn<'a> { impl<'a> Display for MetaDataColumn<'a> { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - write!(f, "{} ", self.col_name)?; + let col_name = self.col_name.replace(']', "]]"); + write!(f, "[{}] ", col_name)?; match &self.base.ty { TypeInfo::FixedLen(fixed) => match fixed {