mirror of
https://github.com/flibusta-apps/library_updater.git
synced 2025-12-06 15:45:36 +01:00
Fix SequenceInfo.position
This commit is contained in:
@@ -424,8 +424,7 @@ impl FromVecExpression<SequenceInfo> for SequenceInfo {
|
||||
operand,
|
||||
} => match (op, operand.as_ref()) {
|
||||
(sql_parse::UnaryOperator::Minus, Expression::Integer(v)) => {
|
||||
let value: i64 = (v.0).try_into().unwrap();
|
||||
-value
|
||||
v.0.try_into().unwrap()
|
||||
}
|
||||
(_, _) => panic!("SequenceInfo.position = {:?}", &value[2]),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user