Renaming
This commit is contained in:
parent
ec0a4f2510
commit
8108b26af5
2 changed files with 6 additions and 6 deletions
|
|
@ -84,11 +84,11 @@ impl<W> ServerProto for W where W: BackendProtoWriter + Send {
|
|||
}
|
||||
}
|
||||
|
||||
fn value_to_column_description(schema: &TableSchema, value: &Value, index: Column) -> anyhow::Result<ColumnDescription> {
|
||||
let name = schema.column_name_from_column(index);
|
||||
fn value_to_column_description(schema: &TableSchema, value: &Value, column: Column) -> anyhow::Result<ColumnDescription> {
|
||||
let name = schema.column_name_from_column(column);
|
||||
|
||||
let table_oid = schema.table_name().as_bytes().as_ptr() as i32;
|
||||
let column_index = index.try_into()?;
|
||||
let column_index = column.try_into()?;
|
||||
let type_oid = value.type_oid();
|
||||
let type_size = value.type_size();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue