1
0

update decimal type parsing

This commit is contained in:
Rokas Puzonas 2023-03-05 14:13:07 +02:00
parent 91a745816a
commit 6e9aef221a

View File

@ -110,7 +110,7 @@ fn is_umodel_snapshot_file(filename: &str) -> bool {
fn parse_type_name(str: &str) -> Result<SQLTypeName> {
use SQLTypeName::*;
Ok(match str {
"decimal" => Decimal,
"decimal" | "dec" => Decimal,
"char" => Char,
"varchar" => Varchar,
"float" => Float,