password_policy_users table needs a primary key/index

dayre - September 25, 2006 - 05:34
Project:Password policy
Version:5.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:dayre
Status:closed
Description

The table storing the user password histories should have an index, likely a composite key (id, created) using the user id and the creation timestamp.

#1

deekayen - July 14, 2008 - 18:08
Version:» 5.x-1.x-dev
Status:active» patch (code needs review)

I added regular indexes. If primary is more appropriate, there are just 4 places to add PRIMARY.

AttachmentSize
password_policy.install-add_key_85874.patch1.67 KB

#2

miglius - July 16, 2008 - 11:13
Status:patch (code needs review)» fixed

Committed. thanks.

#3

Anonymous (not verified) - July 31, 2008 - 04:46
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.