[Tickets #10805] Re: Add stream support to Horde_Db

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Feb 3 16:52:27 UTC 2017


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/10805
------------------------------------------------------------------------------
  Ticket             | 10805
  Updated By         | Git Commit <commits at lists.horde.org>
  Summary            | Add stream support to Horde_Db
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Enhancement
  State              | Resolved
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Horde Developers, Michael Rubinsky
------------------------------------------------------------------------------


Git Commit <commits at lists.horde.org> (2017-02-03 16:52) wrote:

Changes have been made in Git (master):

commit ea32d50494dcadacd5173f8059f6f49f8b3dfbf1
Author: Jan Schneider <jan at horde.org>
Date:   Fri Feb 3 17:36:53 2017 +0100

     Make the $value a string-only property again.

     It's a BC break that this might sometimes be a stream now.  
Instead make $value a setter/getter and add $stream property too.  
Convert between these two on the fly.
     Also make Horde_Db_Value_Text extend Horde_Db_Value_Binary  
because they share most of the code. This requires to change some  
class tests though, because "instanceof Horde_Db_Value_Binary" is true  
now for Value_Text objects too.

     Request: 10805

  framework/Db/lib/Horde/Db/Adapter/Base.php     |  2 +-
  framework/Db/lib/Horde/Db/Adapter/Oci8.php     |  8 +--
  framework/Db/lib/Horde/Db/Adapter/Pdo/Base.php |  8 +--
  framework/Db/lib/Horde/Db/Value/Binary.php     | 89  
++++++++++++++++++++------
  framework/Db/lib/Horde/Db/Value/Text.php       | 25 +-------
  5 files changed, 80 insertions(+), 52 deletions(-)

http://github.com/horde/horde/commit/ea32d50494dcadacd5173f8059f6f49f8b3dfbf1





More information about the bugs mailing list