Skip to content

Commit a28626d

Browse files
committed
fix
1 parent ff22696 commit a28626d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dialect/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ pub trait Dialect: Debug + Any {
10481048
}
10491049

10501050
/// Returns true if this dialect supports `$` as a prefix for money literals
1051-
/// e.g. `SELECT $123.45` (T-SQL)
1051+
/// e.g. `SELECT $123.45` (SQL Server)
10521052
fn supports_dollar_as_money_prefix(&self) -> bool {
10531053
false
10541054
}

src/tokenizer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@ impl<'a> Tokenizer<'a> {
19661966
|| matches!(ch, '$' if self.dialect.supports_dollar_placeholder())
19671967
}));
19681968

1969-
// If the dialect supports a dollar sign as a money prefix (e.g., T-SQL),
1969+
// If the dialect supports a dollar sign as a money prefix (e.g., SQL Server),
19701970
// and the value so far is all digits, check for a decimal part, e.g. `$123.45`
19711971
if matches!(chars.peek(), Some('.'))
19721972
&& self.dialect.supports_dollar_as_money_prefix()

0 commit comments

Comments
 (0)