Index: trunk/phase3/maintenance/archives/patch-log_user_text.sql |
— | — | @@ -3,3 +3,5 @@ |
4 | 4 | ADD log_target_id int unsigned NULL, |
5 | 5 | CHANGE `log_type` `log_type` VARBINARY( 15 ) NOT NULL, |
6 | 6 | CHANGE `log_action` `log_action` VARBINARY( 15 ) NOT NULL; |
| 7 | + |
| 8 | +CREATE INDEX /*i*/user_type_time ON /*_*/logging (log_user, log_type, log_timestamp); |