tests: enable MariaDB/MySQL strict mode
authorAntoine Musso <hashar@free.fr>
Fri, 27 Apr 2018 09:10:32 +0000 (11:10 +0200)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 1 Apr 2019 21:54:30 +0000 (21:54 +0000)
commit45919c5869e9cc837099eb7415d87c45f6c7ac75
treea18f7f016eea1b705ae2d23cff71d91bba88f859
parent5eb97ec3f000ee57a8c7672b6ccf6d2cea54bb8b
tests: enable MariaDB/MySQL strict mode

Pass sql_mode=TRADITIONAL to the SQL connection which would raise an
error instead of warning, for example when a field is truncated.

This change will most probably cause some extensions test to start
magically failling.

Bug: T119371
Change-Id: I2051952090e48876f629690981e25603eff79f67
includes/DevelopmentSettings.php