OK, who registered their name as Jane Smith'; UPDATE votes SET choice Sadiq;--

The confirmation of Sadiq Khan as Mayor of London last month was delayed for several hours by a database application bug.

The election saw Khan voted into the Mayor's office over rival Zac Goldsmith.

While the results of the election were not disputed, the tabulation was completed much later than expected: the announcement should have been made Friday evening, but it did not take place until early Saturday.

IntElect CEO Steve Gowers, who was grilled at the Thursday meeting, said the individual votes were fed into a database, and that this raw information was correct.

However, the code that queried the database to pull out the totals was not working properly, leading to "small discrepancies" between the number of paper votes and the reported totals.

Gowers insisted the system had been tested prior to deployment.

The text above is a summary, you can read full article here.