update decimal type parsing
This commit is contained in:
parent
91a745816a
commit
6e9aef221a
@ -110,7 +110,7 @@ fn is_umodel_snapshot_file(filename: &str) -> bool {
|
|||||||
fn parse_type_name(str: &str) -> Result<SQLTypeName> {
|
fn parse_type_name(str: &str) -> Result<SQLTypeName> {
|
||||||
use SQLTypeName::*;
|
use SQLTypeName::*;
|
||||||
Ok(match str {
|
Ok(match str {
|
||||||
"decimal" => Decimal,
|
"decimal" | "dec" => Decimal,
|
||||||
"char" => Char,
|
"char" => Char,
|
||||||
"varchar" => Varchar,
|
"varchar" => Varchar,
|
||||||
"float" => Float,
|
"float" => Float,
|
||||||
|
Loading…
Reference in New Issue
Block a user