Commit Graph

3944 Commits

Author SHA1 Message Date
Jeremy Mikola
71b3cb343c Merge pull request #120 2015-10-05 17:29:30 -04:00
Remi Collet
aeb2bc4669 PHPC-442: report PHP version in debug info 2015-10-05 17:28:23 -04:00
Remi Collet
efde19a1de report runtime version in debug mode 2015-10-05 17:28:23 -04:00
Remi Collet
064c8a2e4e rename macros 2015-10-05 17:28:23 -04:00
Remi Collet
2415a9c0b3 report libraries runtime versions 2015-10-05 17:28:23 -04:00
Jeremy Mikola
9458df3650 Merge pull request #119 2015-10-05 17:25:12 -04:00
Jeremy Mikola
31661a383d Test write and WC error extraction for single write methods 2015-10-05 16:15:10 -04:00
Jeremy Mikola
51a9ad7ef4 PHPC-409: $readPreference is no longer sent to non-mongos nodes
Fixed by CDRIVER-704
2015-10-05 12:22:46 -04:00
Jeremy Mikola
82507965a7 Update filenames for libmongoc and libbson version functions 2015-10-05 12:22:46 -04:00
Jeremy Mikola
98887ff579 PHPC-438: Debug handler should display null for no WC error 2015-10-05 12:22:46 -04:00
Jeremy Mikola
5732362b8b PHPC-436: Handle new writeConcernErrors array in mongoc_write_result_t 2015-10-05 12:22:46 -04:00
Jeremy Mikola
356ced1e94 Bump libbson and libmongoc submodules to 1.2.0-rc0 2015-10-02 13:42:41 -04:00
Hannes Magnusson
f4200872b9 PHPC-415: Add testcase 2015-10-01 15:22:27 -04:00
Hannes Magnusson
3a91948e55 PHPC-415: SSL/TLS already set-up for this stream
When closing a stream we can't free the base_stream, only our stream.
Which also means, when destroying a stream we may not always have a wrapping stream
2015-10-01 15:22:20 -04:00
Hannes Magnusson
4d6157fb78 $readPreferences should not be sent to standalone server 2015-10-01 15:22:06 -04:00
Hannes Magnusson
ff3061d4ce Don't provide server_id when we have none 2015-10-01 15:22:03 -04:00
Jeremy Mikola
490403a4da Merge pull request #83 2015-10-01 15:16:43 -04:00
Jeremy Mikola
69bff6b039 Use versioned URI for mongo-orchestration 2015-10-01 14:22:19 -04:00
Jeremy Mikola
c682fd3a86 Increase mongo-orchestration HTTP timeout 2015-10-01 14:21:54 -04:00
Jeremy Mikola
a493b21467 Empty query results should still pass "find" phase in mo-tests
Some of the mo-tests issue find ops after restarting nodes, just as a test that a node is available to service the query. Simply testing that an exception is not thrown is suffcient.
2015-10-01 14:18:57 -04:00
Jeremy Mikola
ceaff59ec0 Implement "clientHosts" phase for mo-tests 2015-10-01 14:18:57 -04:00
Jeremy Mikola
f072a5311e Support "delete" operation in mo-tests 2015-10-01 14:18:57 -04:00
Jeremy Mikola
a7a41d9daa Rename "findOne" to "find" in mo-tests
See: estolfo/mo-tests@c2f40b19a1
2015-10-01 14:18:57 -04:00
Jeremy Mikola
a3e755083b Fix exception throwing in mo-tests conversion script 2015-10-01 14:18:57 -04:00
Jeremy Mikola
300300d468 Merge pull request #118 2015-09-28 12:21:09 -04:00
Jeremy Mikola
fd36e94fa8 PHPC-393: Ignore non-public properties when encoding BSON 2015-09-24 15:17:49 -04:00
Jeremy Mikola
28ad44cba9 Previous break statement makes the else condition redundant 2015-09-24 14:24:26 -04:00
Jeremy Mikola
4b484dfe40 Merge pull request #117 2015-09-24 14:24:13 -04:00
Jeremy Mikola
12265c816f PHPC-430, PHPC-377: Do not convert Query filter arg to an object
This is unnecessary, since the filter BSON is already a document. The conversion also disturbs the original zval, as demonstrated by bug0430-001.phpt.
2015-09-23 14:59:39 -04:00
Hannes Magnusson
ec3e1cc895 PHPC-377: Eliminate object casting and whole lot of zend hash helpers
Use BSON for all this parsing as that is the target format anyway

Conflicts:
	php_phongo.c
	php_phongo.h
	src/MongoDB/Query.c
2015-09-23 14:57:47 -04:00
Hannes Magnusson
9c0b84801f PHPC-373: Get rid of MAKE_STD_ZVAL() and use bson_t instead 2015-09-23 14:51:20 -04:00
Jeremy Mikola
c601054ea4 PHPC-430: Regression tests for Query arg corruption 2015-09-23 14:50:57 -04:00
Jeremy Mikola
de38169c15 Merge pull request #116 2015-09-23 14:34:05 -04:00
Jeremy Mikola
c5503cf661 PHP versions in .travis.yml don't need to be strings 2015-09-23 14:32:39 -04:00
Hannes Magnusson
1acb4da867 PHPC-379: I broke PHP5.3 build. Thats OK, since we don't support it. 2015-09-23 14:31:40 -04:00
Jeremy Mikola
bd82482ceb Merge pull request #115 2015-09-23 12:10:35 -04:00
Jeremy Mikola
adbe8bb75f PHPC-427: Fix parsing of null WC journal param for PHP 5.4 2015-09-23 11:48:12 -04:00
Jeremy Mikola
dcbf5ae6ba PHPC-428: Remove support for WriteConcern fsync option 2015-09-23 11:47:53 -04:00
Jeremy Mikola
11f34a20e9 Update arg info for WriteConcern $w ctor parameter 2015-09-22 16:27:28 -04:00
Jeremy Mikola
39d8974e8d Merge pull request #113 2015-09-22 14:19:21 -04:00
Jeremy Mikola
44a85b5438 PHPC-427: Do not set WC journal/fsync to false for NULL args 2015-09-22 14:10:50 -04:00
Jeremy Mikola
68d6b7cab0 Merge pull request #110 2015-09-22 14:08:18 -04:00
Jeremy Mikola
380aee31c9 Additional tests for WriteConcern debug handler 2015-09-22 14:07:23 -04:00
Jeremy Mikola
a6932d59e0 PHPC-423: WriteConcern should report default "w" option as null 2015-09-22 14:07:23 -04:00
Jeremy Mikola
9c38811b56 Merge pull request #109 2015-09-22 14:06:53 -04:00
Jeremy Mikola
3f8b851556 PHPC-426: WC ctor should throw for invalid $w and $wtimeout args 2015-09-22 14:06:37 -04:00
Jeremy Mikola
7757f1118a PHPC-425: WC ctor should accept int/string $w args w/o casting 2015-09-22 14:06:37 -04:00
Jeremy Mikola
6b5e7cacb2 WriteConcern ctor error test doesn't need EXPECTF 2015-09-22 14:06:37 -04:00
Jeremy Mikola
33e91fa908 Use throws() helper function in WriteConcern ctor error test 2015-09-22 14:06:37 -04:00
Jeremy Mikola
e30b93b996 Merge pull request #106 2015-09-22 11:03:29 -04:00