Skip to content

Commit

Permalink
Custom blob subtypes fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandobatels committed Oct 17, 2023
1 parent dfdfe70 commit 13b6d24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rsfbclient-rust/src/wire.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ pub fn parse_sql_response(
}
}

ibase::SQL_BLOB if var.sqlsubtype == 0 || var.sqlsubtype == 1 => {
ibase::SQL_BLOB if var.sqlsubtype <= 1 => {
let id = resp.get_u64()?;

let null = read_null(resp, col_index)?;
Expand Down
2 changes: 1 addition & 1 deletion rsfbclient-rust/src/xsqlda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl XSqlVar {
self.sqltype = ibase::SQL_TIMESTAMP as i16 + 1;
}

ibase::SQL_BLOB if (sqlsubtype <= 1) => {
ibase::SQL_BLOB if sqlsubtype <= 1 => {
self.sqltype = ibase::SQL_BLOB as i16 + 1;
}

Expand Down

0 comments on commit 13b6d24

Please sign in to comment.