On 01 Aug 2007, at 14:38, Larry Garfield wrote:
Dries, to clarify here: There's two different approaches currently listed in that issue: A) db_query_slave() syntax B) array-with-parameter syntax. A is currently running on s.d.o, while B is closer to what I am hoping to use for Drupal 7[1]. In the issue you mentioned that you were concerned about the array handling in B. Do you mean the API or internal $args shuffling? I want to make sure I'm working on the correct problem.
I see 3 options on the replication API front:
1) Use A in Drupal 5.3 and Drupal 6, and switch to B as part of the overhaul in Drupal 7.
2) Clean up whatever the remaining objections are to B and use that now so there's less API change later.
3) Use A now and drop B completely, keeping A come Drupal 7. (Not good for D7's API, IMO.)
I want to make sure we're on the same page as to the approach so that there's no wasted effort. Which are we doing? :-)
I'm leaning towards A so let's go with that for now. It wouldn't hurt to discuss this some more though. -- Dries Buytaert :: http://www.buytaert.net/