mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-06-02 05:10:40 +00:00
build: specify clippy denies in cargo config (#1351)
* build: specify clippy denies in cargo config Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * deny implicit clone Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
@@ -78,7 +78,7 @@ impl FromRow for MysqlTextRow {
|
||||
let value = if let Some(mysql_value) = row.as_ref(i) {
|
||||
match mysql_value {
|
||||
MysqlValue::NULL => Value::Null,
|
||||
MysqlValue::Bytes(v) => Value::from(v.to_vec()),
|
||||
MysqlValue::Bytes(v) => Value::from(v.clone()),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user