Commit 8bc8be5
committed
PHPC-1369: Upgrade libmongoc to 1.15-dev
Use int64_t API for wTimeoutMS. The initial commit for CDRIVER-3087 deprecated the int32_t API for wTimeoutMS. Migrate to the int64_t API to avoid deprecation warnings. Note: PHPC (and libmongoc's URI parsing) still require 32-bit values for wTimeoutMS, so this does not affect users. Having said that, PHPC-1411 may introduce support for 64-bit values and necessitate changes to the code where we read wTimeoutMS values.
Use mongoc_uri_get_tls to read tls/ssl URI option. As part of CDRIVER-2869, libmongoc deprecated mongoc_uri_get_ssl and introduced a "tls" alias. Migrate to the new API to avoid deprecation warnings.
Expect lowercase URI option in error. As part of CDRIVER-2869, libmongoc does case-folding on option keys to facilitate deduplication.1 parent 5875b8d commit 8bc8be5
File tree
7 files changed
+30
-22
lines changed- src
- MongoDB
- tests/manager
7 files changed
+30
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
1363 | | - | |
| 1363 | + | |
1364 | 1364 | | |
1365 | 1365 | | |
1366 | 1366 | | |
| |||
1377 | 1377 | | |
1378 | 1378 | | |
1379 | 1379 | | |
1380 | | - | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
1381 | 1384 | | |
1382 | 1385 | | |
1383 | 1386 | | |
| |||
1900 | 1903 | | |
1901 | 1904 | | |
1902 | 1905 | | |
1903 | | - | |
| 1906 | + | |
1904 | 1907 | | |
| 1908 | + | |
| 1909 | + | |
1905 | 1910 | | |
1906 | 1911 | | |
1907 | 1912 | | |
1908 | 1913 | | |
1909 | 1914 | | |
1910 | 1915 | | |
1911 | 1916 | | |
1912 | | - | |
| 1917 | + | |
1913 | 1918 | | |
1914 | 1919 | | |
1915 | | - | |
| 1920 | + | |
1916 | 1921 | | |
1917 | 1922 | | |
1918 | 1923 | | |
1919 | 1924 | | |
1920 | 1925 | | |
1921 | | - | |
| 1926 | + | |
1922 | 1927 | | |
1923 | 1928 | | |
1924 | 1929 | | |
| |||
1956 | 1961 | | |
1957 | 1962 | | |
1958 | 1963 | | |
1959 | | - | |
1960 | | - | |
| 1964 | + | |
1961 | 1965 | | |
1962 | 1966 | | |
1963 | 1967 | | |
| |||
2066 | 2070 | | |
2067 | 2071 | | |
2068 | 2072 | | |
2069 | | - | |
| 2073 | + | |
2070 | 2074 | | |
2071 | 2075 | | |
2072 | 2076 | | |
| |||
2557 | 2561 | | |
2558 | 2562 | | |
2559 | 2563 | | |
2560 | | - | |
| 2564 | + | |
2561 | 2565 | | |
2562 | 2566 | | |
2563 | 2567 | | |
| |||
2572 | 2576 | | |
2573 | 2577 | | |
2574 | 2578 | | |
2575 | | - | |
| 2579 | + | |
2576 | 2580 | | |
2577 | 2581 | | |
2578 | 2582 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
269 | 271 | | |
270 | 272 | | |
271 | 273 | | |
| |||
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
324 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
325 | 329 | | |
326 | 330 | | |
327 | 331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments