[dev] [commits] Horde branch master updated. 374d93a1f65478c33446dfa25e89524a0dc021eb
Chuck Hagenbuch
chuck at horde.org
Sun May 30 01:28:04 UTC 2010
Quoting Michael M Slusarz <slusarz at horde.org>:
> commit 0c369fee9b6ef70bdd92f1141635699d5ad9707b
> Author: Michael M Slusarz <slusarz at curecanti.org>
> Date: Fri May 14 15:54:33 2010 -0600
>
> Add ability to define a write DB for use with split-DB installations
>
> framework/Core/lib/Horde/Core/Binder/Db.php | 27 +++++++++--
> framework/Db/lib/Horde/Db/Adapter/Base.php | 67
> ++++++++++++++++++++++----
> framework/Db/package.xml | 3 +-
> 3 files changed, 80 insertions(+), 17 deletions(-)
>
> http://git.horde.org/diff.php/framework/Core/lib/Horde/Core/Binder/Db.php?rt=horde-git&r1=5dfb1dc4140eb2996f0251c6335ccdb05028f93c&r2=0c369fee9b6ef70bdd92f1141635699d5ad9707b
> http://git.horde.org/diff.php/framework/Db/lib/Horde/Db/Adapter/Base.php?rt=horde-git&r1=e78d0ec74a1d2a3744eedefd51fb69bd1168c1b0&r2=0c369fee9b6ef70bdd92f1141635699d5ad9707b
> http://git.horde.org/diff.php/framework/Db/package.xml?rt=horde-git&r1=2414d64eb55a0e7e03b4e1d30a26e8da7a1b5c00&r2=0c369fee9b6ef70bdd92f1141635699d5ad9707b
This is not the right place for this functionality - it is overly
complicated and fragile to bake it in to the base adapter. I'm going
to revert it and add a separate object - maybe
Horde_Core_Db_SplitWrite - that provides this functionality, given two
adapters.
-chuck
More information about the dev
mailing list