Fix integer affinity for rowid expr type

This commit is contained in:
PThorpe92
2025-10-02 14:29:53 -04:00
parent dc1463c70d
commit 43aba0ee95

View File

@@ -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)