ext/mysql2/client.h in mysql2-0.3.14 vs ext/mysql2/client.h in mysql2-0.3.15
- old
+ new
@@ -34,20 +34,22 @@
}
#endif /* ! HAVE_RB_THREAD_BLOCKING_REGION */
#endif /* ! HAVE_RB_THREAD_CALL_WITHOUT_GVL */
-void init_mysql2_client();
-
typedef struct {
VALUE encoding;
VALUE active_thread; /* rb_thread_current() or Qnil */
+ long server_version;
int reconnect_enabled;
int active;
int connected;
int initialized;
int refcount;
int freed;
MYSQL *client;
} mysql_client_wrapper;
+
+void init_mysql2_client();
+void decr_mysql2_client(mysql_client_wrapper *wrapper);
#endif