-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19.11.2012 22:36, Christopher Nelson wrote:
> What I found in SubticketsPlugin was:
> 
>  * Copy the data from the existing tables into Python hashes
>  * Drop the tables
>  * Create the tables for the new schema
>  * Insert the saved data
> 
> Interestingly, there was no logic to only do this if the schema was
> out of date.  Maybe that was OK there but it seemed wrong.

Rebuild table on each check == environment load, really? That wouldn't
be wrong, but totally insane. Happen, that I use this plugin myself,
I'll have to check this for sure.

> In my adaptation, I only save and create if the version changed.  Seems to
> work.  So far. <fingers crossed>

Sure, nothing more is required.

Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlCqz0oACgkQ31DJeiZFuHesZACfUWMagWu4KH8Lv36lycTG8uQB
fFcAoIU+Et26916Y0zcuhNY8gyGicq7v
=knTg
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to trac-dev@googlegroups.com.
To unsubscribe from this group, send email to 
trac-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to