mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
core: Fix INTEGER data type detection
This commit is contained in:
parent
ffa999b458
commit
8d4d2f32ee
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ fn create_table(tbl_name: QualifiedName, body: CreateTableBody, root_page: usize
|
|||
let ty = match column.col_type {
|
||||
Some(data_type) => {
|
||||
let type_name = data_type.name.as_str();
|
||||
if type_name.contains("INT") {
|
||||
if type_name.contains("INTEGER") {
|
||||
Type::Integer
|
||||
} else if type_name.contains("CHAR")
|
||||
|| type_name.contains("CLOB")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue