Skip to content

Commit 51a9ad7

Browse files
committed
PHPC-409: $readPreference is no longer sent to non-mongos nodes
Fixed by CDRIVER-704
1 parent 8250796 commit 51a9ad7

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

tests/server/server-executeCommand-002.phpt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@ object(stdClass)#%d (%d) {
6363
}
6464
}
6565
}
66-
["$readPreference"]=>
67-
object(stdClass)#%d (%d) {
68-
["mode"]=>
69-
string(9) "secondary"
70-
["tags"]=>
71-
array(0) {
72-
}
73-
}
7466
}
7567
Set profile level to 0 successfully: yes
7668
===DONE===

tests/server/server-executeQuery-005.phpt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,6 @@ object(stdClass)#%d (%d) {
5555
["x"]=>
5656
int(1)
5757
}
58-
["$readPreference"]=>
59-
object(stdClass)#%d (%d) {
60-
["mode"]=>
61-
string(9) "secondary"
62-
["tags"]=>
63-
array(0) {
64-
}
65-
}
6658
}
6759
Set profile level to 0 successfully: yes
6860
===DONE===

0 commit comments

Comments
 (0)