Commits

Frank Fischer committed 77ec92c

add Mysql#client_version

Comments (0)

Files changed (1)

lib/mysql/mysql.rb

         C::mysql_get_client_version
     end
 
+    # @return [Integer] the version of the client
+    def client_version
+        Mysql.client_version
+    end
+
     # @return [String] string containing the client's version
     def self.client_info
         C::mysql_get_client_info