Last modified: 2007-08-01 21:43:53 UTC
Created attachment 3964 [details]
at return statement to Database::update()
Database::update() should return the result of the query (true for success, false for failure), but doesn't. This patch fixes that (just the addition of one word).
Note that the boolean alone won't be enough to determine whether or not rows were updated at all; database errors tend to throw exceptions, which should be caught, or passed up, but the more useful check is to call Database::affectedRows().
Fixed in r24532.