File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 ( )
You can’t perform that action at this time.
0 commit comments