Add sequence support for externallinks table
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 3 Jan 2014 19:36:20 +0000 (20:36 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Fri, 3 Jan 2014 19:36:20 +0000 (20:36 +0100)
commita33048bb8b4a1c7717c0760acd03563bf937687d
treea48036a0d4acfde42fc73b3cc0a6409414bc4e47
parent382651e2f1fd92205a042683608442ca4083f864
Add sequence support for externallinks table

Database field el_id was added with
Ib6b0fc3736d173fa4ba7b786ecfc710b2f4711bb, but due to autoincrement in
mysql no sequence support was added.

For mysql this is a nop, it adds a field to the insert but that is null
and mysql autoincrement will fill it.
INSERT /* LinksUpdate::incrTableUpdate 127.0.0.1 */ IGNORE
  INTO `externallinks` (el_id,el_from,el_to,el_index)
VALUES
(NULL,'1610','http://de.wikipedia.org/wiki/Hauptseite','http://org.wikipedia.de./wiki/Hauptseite')

At least Oracle will need it

Bug: 58435
Change-Id: I3f68ea8d99c5450c0c66feeb1469ef0ee6cc4eab
includes/deferred/LinksUpdate.php
maintenance/fixExtLinksProtocolRelative.php