Uodated the core dependency and fixed the alter anrs script.

pull/342/head v2.10.2
Ruslan Baidan 2021-03-01 17:31:54 +01:00
parent 6b1b9e58a6
commit b1dd41bfa4
No known key found for this signature in database
GPG Key ID: 4B7724C136BF1D89
2 changed files with 11 additions and 10 deletions

20
composer.lock generated
View File

@ -4405,12 +4405,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/monarc-project/zm-core.git", "url": "https://github.com/monarc-project/zm-core.git",
"reference": "d9dec0dd80742a0cfe52fc2bb123319310bccae8" "reference": "50d72bfc6a411c0d02a5ead882d953cc44341af8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/monarc-project/zm-core/zipball/d9dec0dd80742a0cfe52fc2bb123319310bccae8", "url": "https://api.github.com/repos/monarc-project/zm-core/zipball/50d72bfc6a411c0d02a5ead882d953cc44341af8",
"reference": "d9dec0dd80742a0cfe52fc2bb123319310bccae8", "reference": "50d72bfc6a411c0d02a5ead882d953cc44341af8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4488,7 +4488,7 @@
"issues": "https://github.com/monarc-project/zm-core/issues", "issues": "https://github.com/monarc-project/zm-core/issues",
"source": "https://github.com/monarc-project/zm-core/tree/v2.10.2" "source": "https://github.com/monarc-project/zm-core/tree/v2.10.2"
}, },
"time": "2021-02-24T09:27:04+00:00" "time": "2021-03-01T14:00:03+00:00"
}, },
{ {
"name": "monarc/frontoffice", "name": "monarc/frontoffice",
@ -7707,12 +7707,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git", "url": "https://github.com/Roave/SecurityAdvisories.git",
"reference": "640ff0b5dcacc0958534c8c0255b90697f3eb2a8" "reference": "a6bfc5a1416f0dde1f53b7737b2cf983352737b8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/640ff0b5dcacc0958534c8c0255b90697f3eb2a8", "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/a6bfc5a1416f0dde1f53b7737b2cf983352737b8",
"reference": "640ff0b5dcacc0958534c8c0255b90697f3eb2a8", "reference": "a6bfc5a1416f0dde1f53b7737b2cf983352737b8",
"shasum": "" "shasum": ""
}, },
"conflict": { "conflict": {
@ -7854,7 +7854,7 @@
"phpunit/phpunit": ">=4.8.19,<4.8.28|>=5.0.10,<5.6.3", "phpunit/phpunit": ">=4.8.19,<4.8.28|>=5.0.10,<5.6.3",
"phpwhois/phpwhois": "<=4.2.5", "phpwhois/phpwhois": "<=4.2.5",
"phpxmlrpc/extras": "<0.6.1", "phpxmlrpc/extras": "<0.6.1",
"pimcore/pimcore": "<6.3", "pimcore/pimcore": "<6.8.8",
"pocketmine/pocketmine-mp": "<3.15.4", "pocketmine/pocketmine-mp": "<3.15.4",
"prestashop/autoupgrade": ">=4,<4.10.1", "prestashop/autoupgrade": ">=4,<4.10.1",
"prestashop/contactform": ">1.0.1,<4.3", "prestashop/contactform": ">1.0.1,<4.3",
@ -7894,7 +7894,7 @@
"simplesamlphp/simplesamlphp-module-infocard": "<1.0.1", "simplesamlphp/simplesamlphp-module-infocard": "<1.0.1",
"simplito/elliptic-php": "<1.0.6", "simplito/elliptic-php": "<1.0.6",
"slim/slim": "<2.6", "slim/slim": "<2.6",
"smarty/smarty": "<3.1.33", "smarty/smarty": "<3.1.39",
"socalnick/scn-social-auth": "<1.15.2", "socalnick/scn-social-auth": "<1.15.2",
"socialiteproviders/steam": "<1.1", "socialiteproviders/steam": "<1.1",
"spoonity/tcpdf": "<6.2.22", "spoonity/tcpdf": "<6.2.22",
@ -8026,7 +8026,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-02-18T21:02:27+00:00" "time": "2021-02-26T20:02:39+00:00"
}, },
{ {
"name": "sebastian/code-unit-reverse-lookup", "name": "sebastian/code-unit-reverse-lookup",

View File

@ -6,5 +6,6 @@ do
db_pwd=$(grep 'password' $conf_file | head -1 | sed "s/'password' => '//" | sed "s/',//" | sed 's/^[ \t]*//;s/[ \t]*$//') db_pwd=$(grep 'password' $conf_file | head -1 | sed "s/'password' => '//" | sed "s/',//" | sed 's/^[ \t]*//;s/[ \t]*$//')
echo "Alter anrs table raw size for $db_user ..." echo "Alter anrs table raw size for $db_user ..."
mysql -u $db_user -p$db_pwd $db_user -e "ALTER TABLE anrs ROW_FORMAT=DYNAMIC;" mysql -u $db_user -p$db_pwd $db_user -e "ALTER TABLE anrs ROW_FORMAT=DYNAMIC;"
mysql -u $db_user -p$db_pwd $db_user -e "OPTIMIZE TABLE anrs;"
echo "Done." echo "Done."
done done