Skip to content

Commit

Permalink
Add server version call
Browse files Browse the repository at this point in the history
  • Loading branch information
abbradar committed Jul 22, 2014
1 parent 47ff262 commit 8c90f88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Database/MySQL/Base/C.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module Database.MySQL.Base.C
-- ** Connection information
, mysql_thread_id
, mysql_get_server_info
, mysql_get_server_version
, mysql_get_host_info
, mysql_get_proto_info
, mysql_character_set_name
Expand Down Expand Up @@ -186,6 +187,9 @@ foreign import ccall unsafe "mysql_signals.h _hs_mysql_select_db" mysql_select_d
foreign import ccall safe mysql_get_server_info
:: Ptr MYSQL -> IO CString

foreign import ccall safe mysql_get_server_version
:: Ptr MYSQL -> IO CULong

foreign import ccall safe mysql_get_host_info
:: Ptr MYSQL -> IO CString

Expand Down

0 comments on commit 8c90f88

Please sign in to comment.