Skip to content

Commit

Permalink
update efirebirdsql dependent version
Browse files Browse the repository at this point in the history
  • Loading branch information
nakagami committed Feb 23, 2019
1 parent 53f8903 commit f265fd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ defmodule Firebirdex.Mixfile do
[
{:db_connection, "~> 2.0"},
{:decimal, "~> 1.6"},
{:efirebirdsql, "~> 0.5.5"},
{:efirebirdsql, "~> 0.5.6"},
]
end

Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"connection": {:hex, :connection, "1.0.4", "a1cae72211f0eef17705aaededacac3eb30e6625b04a6117c1b2db6ace7d5976", [:mix], [], "hexpm"},
"db_connection": {:hex, :db_connection, "2.0.2", "440c05518b0bdca0469dafaf45403597430448c1281def14ef9ccaa41833ea1e", [:mix], [{:connection, "~> 1.0.2", [hex: :connection, repo: "hexpm", optional: false]}], "hexpm"},
"decimal": {:hex, :decimal, "1.6.0", "bfd84d90ff966e1f5d4370bdd3943432d8f65f07d3bab48001aebd7030590dcc", [:mix], [], "hexpm"},
"efirebirdsql": {:hex, :efirebirdsql, "0.5.5", "6f89d1ccf45b1dbfda21f3bd0bc12ae38da41b0b96ada69e1df2820ccef2ca51", [:rebar3], [], "hexpm"},
"efirebirdsql": {:hex, :efirebirdsql, "0.5.6", "53adcecef02786738392192f3e6bb6d1c8706a9ad4d252d092dec4ffe507c2a3", [:rebar3], [], "hexpm"},
}
6 changes: 3 additions & 3 deletions test/firebirdex_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ defmodule FirebirdexTest do
CAST(1.23 AS DOUBLE PRECISION) AS d,
NULL AS E
FROM RDB$DATABASE", [])

assert result.columns == ["A", "B", "C", "D", "E"]
assert result.rows == [[1, "Str", Decimal.new("1.23"), 1.23, :nil]]

{:ok, %Firebirdex.Result{} = result2} = Firebirdex.query(conn,
{:ok, %Firebirdex.Result{} = result} = Firebirdex.query(conn,
"SELECT count(*) from rdb$relations where rdb$system_flag = ?", [0])
assert result2.rows == [[0]]
assert result.rows == [[0]]

end

end

0 comments on commit f265fd8

Please sign in to comment.