mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-31 13:54:27 +01:00
Fix integer affinity for rowid expr type
This commit is contained in:
@@ -3761,6 +3761,7 @@ pub fn get_expr_affinity(
|
||||
}
|
||||
Affinity::Blob
|
||||
}
|
||||
ast::Expr::RowId { .. } => Affinity::Integer,
|
||||
ast::Expr::Cast { type_name, .. } => {
|
||||
if let Some(type_name) = type_name {
|
||||
crate::schema::affinity(&type_name.name)
|
||||
|
||||
Reference in New Issue
Block a user