Derick Rethans
e272bb5e47
PHPC-1249: Fix tests running against MongoDB 3.0 replicaset
2018-07-20 16:39:37 +01:00
Derick Rethans
9fd1dc830f
Merge branch 'v1.5' and add check for Session::isInTransaction
2018-07-19 21:57:25 +01:00
Derick Rethans
2cfc3fa6a9
PHPC-1243: Calling session methods after Session::endSession() causes use-after-free crash
2018-07-19 19:23:31 +01:00
Derick Rethans
a917c35a9e
PHPC-1231: Add Session::isInTransaction to indicate whether a transaction is active
2018-07-17 17:09:17 +01:00
Derick Rethans
c5f82b714c
PHPC-1229: Populate error labels for bulk write exceptions
2018-07-17 16:59:09 +01:00
Jeremy Mikola
0e4ea93183
Merge branch 'v1.5'
2018-07-03 08:41:22 -04:00
Jeremy Mikola
13dc33066c
Catch CommandException before calling getResultDocument()
2018-07-02 18:02:03 -04:00
Derick Rethans
6b2e387de1
PHPC-1222: Implement accessor for error labels on exception classes
2018-07-02 13:52:49 +01:00
Derick Rethans
b172a20c31
PHPC-1140: Implement Transactions specification
2018-06-19 14:47:29 +01:00
Jeremy Mikola
58fa85e85e
PHPC-1113: Use common URI constant
2018-05-02 16:04:09 -04:00
Jeremy Mikola
5f7f350670
PHPC-1113: Replace NEEDS('STANDALONE') with skip function
2018-05-02 16:04:08 -04:00
Jeremy Mikola
b4062f880c
PHPC-1113: Replace CLEANUP() with skip function
2018-05-02 16:04:08 -04:00
Jeremy Mikola
3a1362bb8d
PHPC-1113: Replace NEEDS('REPLICASET') with skip function
2018-05-02 16:04:08 -04:00
Jeremy Mikola
fe52b484be
PHPC-1113: Replace NEEDS_ATLEAST_MONGODB_VERSION() with skip function
2018-05-02 16:04:07 -04:00
Jeremy Mikola
8a83606e9b
PHPC-1113: Replace NEEDS_CRYPTO() with skip function
2018-05-02 16:04:07 -04:00
Jeremy Mikola
2ecee506b4
PHPC-1100: Require SSL or crypto as needed in tests
...
This addresses test failures when the driver is compiled without SSL.
2018-01-23 09:25:44 -05:00
Derick Rethans
1e06f3428f
Replace check for 'TRAVIS' with MongoDB server version check
2018-01-12 11:55:41 +00:00
Jeremy Mikola
d99153bfb7
PHPC-980: Skip session spec test on Travis (pending 3.6)
2017-12-20 22:24:25 -05:00
Jeremy Mikola
939e96b6df
PHPC-987: Add operation time to Session
2017-12-20 22:24:25 -05:00
Jeremy Mikola
37dbda7f6e
PHPC-980: Use correct topology constant in CLEANUP()
2017-12-19 08:52:26 -05:00
Jeremy Mikola
b2d85bfeb2
PHPC-980: Driver session spec tests
2017-12-15 16:25:56 -05:00
Jeremy Mikola
d1d9d4a2bd
PHPC-980: MongoDB\Driver\Session and "session" option
...
This introduces a Session class, which wraps libmongoc's client session object. Additionally, we support a "session" option on Manager and Server execute methods to allow operations to be associated with an explicit session (mostly relevant for causal consistency).
2017-12-15 16:25:56 -05:00