Skip to content

Commit

Permalink
Eliminating another Vector_Data
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Sep 7, 2022
1 parent ce6aa5c commit a2cfedf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ type JDBC_Connection
num_rows = table.row_count
columns = table.columns
check_rows updates_array expected_size =
updates = Vector.Vector_Data updates_array
updates = Vector.from_polyglot_array updates_array
if updates.length != expected_size then Panic.throw <| Illegal_State_Error "The batch update unexpectedly affected "+updates.length.to_text+" rows instead of "+expected_size.to_text+"." else
updates.each affected_rows->
if affected_rows != 1 then
Expand Down

0 comments on commit a2cfedf

Please sign in to comment.