Doc #63050 [NEW]: Change in behaviour for return value of unsafe writes

From: Date: Mon, 10 Sep 2012 00:11:38 +0000
Subject: Doc #63050 [NEW]: Change in behaviour for return value of unsafe writes
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8841@lists.php.net to get a copy of this message
From: adam at hipsnip dot com Operating system: PHP version: Irrelevant Package: mongo Bug Type: Documentation Problem Bug description:Change in behaviour for return value of unsafe writes Description: ------------ --- From manual page: http://www.php.net/mongo.writes --- In version 1.2.x of the driver, when performing a write operation with the "safe => false" (unsafe) flag set, it would return a boolean value. In 1.3.0 (beta2) it appears that this is no longer the case, as these operations have no return value (null). While this makes sense - since we won't really know if the operation succeeded - this will break applications which expect that boolean return value. Therefore this change in behaviour should be noted on the documentation page for mongo write operations. -- Edit bug report at https://bugs.php.net/bug.php?id=63050&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63050&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63050&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63050&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63050&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=63050&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=63050&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63050&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63050&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63050&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63050&r=support Expected behavior: https://bugs.php.net/fix.php?id=63050&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63050&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63050&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63050&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63050&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63050&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63050&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63050&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63050&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63050&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63050&r=mysqlcfg

« previous php.doc.bugs (#8841) next »