[Nitro] OG draft patch: Eliminate the duplicate query seen in calls to og_create_schema

Mark Van De Vyver mvyver at gmail.com
Mon Sep 3 07:34:15 EDT 2007

This time with the patch... been a long day :)

On 9/3/07, Mark Van De Vyver <mvyver at gmail.com> wrote:
> Hi Devs,
> Attached is a draft patch that should eliminate the duplicate query
> when og_create_schema is run.  I guess this is likely only to have
> hurt your performace if you have to create lots of tables (my use
> case), have a very slow connection, or a DB that is under heavy load?
> Anyway it was an interesting exercise to try and come to grips with
> some of the OG code - I don't fully understand the different roles of
> the different SQLEnchant* modules....
> This is my first open source patch so don't expect too much :)
> Seriously, _when_ the guts of this change is OK, then I'll dump all
> the commented code and submit a cleaner patch.
> I've tested with the Sqlite and Mysql stores/adapters.
> Hopefully a more constructive email than some of the noise I've been
> sending lately - steep learning curve :)
> Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mvdv-20070803-1-1-draft
Type: application/octet-stream
Size: 61254 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20070903/08ca118e/attachment-0001.obj 

More information about the Nitro-general mailing list