We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0a9e4e + 860bc79 commit 063f4b2Copy full SHA for 063f4b2
ext/mysql2/client.c
@@ -1215,6 +1215,7 @@ static VALUE rb_mysql_client_prepare_statement(VALUE self, VALUE sql) {
1215
}
1216
1217
void init_mysql2_client() {
1218
+#ifdef _WIN32
1219
/* verify the libmysql we're about to use was the version we were built against
1220
https://github.com/luislavena/mysql-gem/commit/a600a9c459597da0712f70f43736e24b484f8a99 */
1221
int i;
@@ -1232,6 +1233,7 @@ void init_mysql2_client() {
1232
1233
return;
1234
1235
1236
+#endif
1237
1238
/* Initializing mysql library, so different threads could call Client.new */
1239
/* without race condition in the library */
0 commit comments