X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=includes%2Finstaller%2FMysqlUpdater.php;h=36d2c1dd314d12badc74c063f27f9d2f59f56a00;hb=5d9b67e09ed150f342b17383e53cc0d4be1ba754;hp=eada44a918a770faf493cfe371fb6c6f2a98aa7a;hpb=4b35513ef16a125a9ccb39054150e17c5bd8b218;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index eada44a918..36d2c1dd31 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -271,6 +271,8 @@ class MysqlUpdater extends DatabaseUpdater { array( 'dropField', 'site_stats', 'ss_total_views', 'patch-drop-ss_total_views.sql' ), array( 'dropField', 'page', 'page_counter', 'patch-drop-page_counter.sql' ), array( 'doUserNewTalkUseridUnsigned' ), + // note this patch covers other _comment and _description fields too + array( 'modifyField', 'recentchanges', 'rc_comment', 'patch-editsummary-length.sql' ), ); } @@ -1073,7 +1075,7 @@ class MysqlUpdater extends DatabaseUpdater { if ( $info === false ) { return true; } - if ( ( $info->flags() & 32 /*MYSQLI_UNSIGNED_FLAG*/ ) ) { + if ( $info->isUnsigned() ) { $this->output( "...user_id is already unsigned int.\n" ); return true;