Mikael Nordfeldth
b54710950f
unique keys and indexes must be NOT NULL or MySQL fucks up
...
If this merge throws exception on scripts/upgrade.php and you recently
tried a nightly (i.e. during 2015-02-19) then just go back a commit or two
and try again.
Or delete the duplicate entries. Find the entries like this:
SELECT COUNT(*), urlhash FROM file_redirection
GROUP BY urlhash
HAVING COUNT(*) > 1;
then for each urlhash (or come up with a smart SQL query) do:
DELETE FROM file_redirection WHERE urlhash='hashfrompreviousquery' LIMIT 1;
You'll have to remove duplicates more than once if you have >2 identical
urlhash entries. LIMIT -1 might do that for you. I'm not sure.
2015-02-19 21:21:39 +01:00
..
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2015-02-19 21:21:39 +01:00
2015-02-19 20:50:40 +01:00
2013-10-29 10:20:57 +01:00
2015-02-19 21:21:39 +01:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2013-08-12 19:46:44 +02:00
2015-02-12 18:18:55 +01:00
2013-10-17 01:27:01 +02:00
2013-11-02 17:28:11 +01:00
2013-08-18 15:42:51 +02:00
2013-08-18 15:42:51 +02:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2013-11-02 17:27:50 +01:00
2015-02-12 18:18:55 +01:00
2013-10-21 13:20:30 +02:00
2015-02-19 19:05:24 +01:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2013-08-18 15:42:51 +02:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2013-08-18 12:32:32 +02:00
2013-09-09 23:28:20 +02:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2013-08-18 15:42:51 +02:00
2013-10-29 10:20:57 +01:00
2013-10-29 10:20:57 +01:00
2015-02-19 20:50:40 +01:00
2013-09-18 01:21:53 +02:00
2013-08-12 19:46:44 +02:00
2013-08-12 19:46:44 +02:00
2013-08-18 15:42:51 +02:00
2013-10-29 10:20:57 +01:00
2013-08-12 19:46:44 +02:00
2013-08-18 13:13:56 +02:00
2015-02-12 18:18:55 +01:00
2013-10-29 10:20:57 +01:00
2010-07-29 16:32:41 -04:00
2015-02-12 18:18:55 +01:00
2014-05-05 23:58:05 +02:00
2015-02-19 20:50:40 +01:00
2015-02-12 18:18:55 +01:00
2013-08-18 12:32:32 +02:00
2015-02-12 18:18:55 +01:00
2015-02-12 18:18:55 +01:00
2013-08-12 19:46:44 +02:00
2014-08-24 13:12:44 +02:00
2015-02-12 18:18:55 +01:00
2015-02-19 20:50:40 +01:00