Skip to content

Commit

Permalink
Fixing float decoding (#160)
Browse files Browse the repository at this point in the history
Fixes issue !159 - Slow float decoder on large result set
  • Loading branch information
mjaric authored Jan 21, 2024
1 parent f15b868 commit e9a887a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/tds/types.ex
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,6 @@ defmodule Tds.Types do
data != <<0x00>>

data_type_code == @tds_data_type_floatn ->
data = data <> tail
len = length * 8
<<val::little-float-size(len), _::binary>> = data
val
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Tds.Mixfile do
use Mix.Project

@source_url "https://github.com/elixir-ecto/tds"
@version "2.3.4"
@version "2.3.5"

def project do
[
Expand Down

0 comments on commit e9a887a

Please sign in to comment.