Issue #1506 has been updated by masterzen.

jamtur01 wrote:
> Can yoiu rebase on 0.24.x please.

Yes, of course :-)
The result is available in the github masterzen/puppet repository branch 
tickets/0.24.x/1506
or shorter here:
http://github.com/masterzen/puppet/tree/tickets%2F0.24.x%2F1506

and with direct access to the commit here:
http://github.com/masterzen/puppet/commit/7accb893d8b4a530aac7ccd402756afb0ce599bd
----------------------------------------
Bug #1506: Storeconfig schema contains duplicate index.
http://reductivelabs.com/redmine/issues/show/1506

Author: masterzen
Status: Code Insufficient
Priority: Normal
Assigned to: masterzen
Category: Rails
Target version: 0.24.6
Complexity: Easy
Affected version: 0.24.5
Keywords: storeconfig index rails


The schema generated by storeconfig at the first run (see 
lib/puppet/rails/database/schema.rb) contains index on the "id" columns of each 
table. Rails creates "id" columns automatically if there are none and that 
those created columns are primary keys.
If they are primary keys, they are already indexed, so there is no need create 
another index again which duplicate information and force
the database engine to write twice the information.

This has been verified on mysql and sqlite.


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to