[development] sequences and table prefixing

Moshe Weitzman weitzman at tejasa.com
Thu Jan 19 15:48:47 UTC 2006


Robert Douglass wrote:
> I'm having a hard time processing your example to see if it would let me 
> keep my node sequences in one db and my spam sequences in another db. It 
> looks to me, rather, that you're still switching the sequences table 
> based on site, not the particular sequence based on site, like I'm 
> suggesting.

you are right. I didn't read your question correctly ... your best hope 
is to hack the logic into db_prefix_tables() 
http://drupaldocs.org/api/head/function/db_prefix_tables

the patch that you propose is OK. Time might be better spent removing 
sequences from drupal. the issue to post into is at 
http://drupal.org/node/38585


More information about the development mailing list