trilogy 2.12.4 → 2.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/trilogy-ruby/cext.c +11 -0
- data/lib/trilogy/version.rb +1 -1
- metadata +3 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb255b4a759f25f1ddbf289fb3d17e163cd4efa1dcdf0537d3c9bafeac7183ab
|
|
4
|
+
data.tar.gz: 8d89ef7ec7d5a11cc480a3f6fc0c7ba96c4baa761dccb0b773b88cc382897ea8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14bd176ad7f6289bb38b42036344b94800831699b82807464f6ee124e7d31c9a17fa474cabf342ae0c8b549f664062aa0dd52b14e75b06c65c1ff717520e9fda
|
|
7
|
+
data.tar.gz: 7928348c8d89a3e0a5ad5dec06503a9ba3111f0e4f33e4d1448a85407c614c98adbd3adbe4e2e6c763654747a1a484c7437c3cea6c853b448eb105335c8dfb78
|
data/ext/trilogy-ruby/cext.c
CHANGED
|
@@ -467,6 +467,17 @@ escape the GVL on each wait operation without going through call_without_gvl */
|
|
|
467
467
|
return TRILOGY_ERR;
|
|
468
468
|
}
|
|
469
469
|
|
|
470
|
+
int flags = fcntl(fd, F_GETFD); /* should not fail except EBADF. */
|
|
471
|
+
if (flags == -1) {
|
|
472
|
+
close(newfd);
|
|
473
|
+
return TRILOGY_ERR;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
if (fcntl(newfd, F_SETFD, flags) != 0){
|
|
477
|
+
close(newfd);
|
|
478
|
+
return TRILOGY_ERR;
|
|
479
|
+
}
|
|
480
|
+
|
|
470
481
|
rc = trilogy_connect_set_fd(&ctx->conn, sock, newfd);
|
|
471
482
|
if (rc < 0) {
|
|
472
483
|
trilogy_sock_close(sock);
|
data/lib/trilogy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trilogy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.12.
|
|
4
|
+
version: 2.12.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitHub Engineering
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bigdecimal
|
|
@@ -24,7 +23,6 @@ dependencies:
|
|
|
24
23
|
- - ">="
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
25
|
version: '0'
|
|
27
|
-
description:
|
|
28
26
|
email: opensource+trilogy@github.com
|
|
29
27
|
executables: []
|
|
30
28
|
extensions:
|
|
@@ -75,7 +73,6 @@ homepage: https://github.com/trilogy-libraries/trilogy
|
|
|
75
73
|
licenses:
|
|
76
74
|
- MIT
|
|
77
75
|
metadata: {}
|
|
78
|
-
post_install_message:
|
|
79
76
|
rdoc_options: []
|
|
80
77
|
require_paths:
|
|
81
78
|
- lib
|
|
@@ -90,8 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
90
87
|
- !ruby/object:Gem::Version
|
|
91
88
|
version: '0'
|
|
92
89
|
requirements: []
|
|
93
|
-
rubygems_version:
|
|
94
|
-
signing_key:
|
|
90
|
+
rubygems_version: 4.0.11
|
|
95
91
|
specification_version: 4
|
|
96
92
|
summary: A friendly MySQL-compatible library for Ruby, binding to libtrilogy
|
|
97
93
|
test_files: []
|