Skip to content

Commit

Permalink
Support DBInterface v2.5 (#187)
Browse files Browse the repository at this point in the history
* Support DBInterface v2.5

* uncomment tests
  • Loading branch information
quinnj authored Mar 6, 2022
1 parent b39aa34 commit c2ff301
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 71 deletions.
70 changes: 0 additions & 70 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
[compat]
julia = "1"
BinaryProvider = "0.5"
DBInterface = "2"
DBInterface = "2.5"
Tables = "1"
DecFP = "0.4.9, 0.4.10, 1"
MariaDB_Connector_C_jll = "3"
Expand Down
2 changes: 2 additions & 0 deletions src/prepare.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ end
@noinline checkstmt(stmt::Statement) = checkstmt(stmt.stmt)
@noinline checkstmt(stmt::API.MYSQL_STMT) = stmt.ptr == C_NULL && error("prepared mysql statement has been closed")

DBInterface.getconnection(stmt::Statement) = stmt.conn

"""
DBInterface.close!(stmt)
Expand Down

0 comments on commit c2ff301

Please sign in to comment.