Created
January 12, 2022 13:11
-
-
Save efpapado/ea514f5142f0b1d445c5e9acdfb7ddd2 to your computer and use it in GitHub Desktop.
Drush: disable column statistics - 10.3.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Sql/SqlMysql.php b/src/Sql/SqlMysql.php | |
index 796182447..f42bddee6 100644 | |
--- a/src/Sql/SqlMysql.php | |
+++ b/src/Sql/SqlMysql.php | |
@@ -24,6 +24,8 @@ class SqlMysql extends SqlBase | |
// EMPTY password is not the same as NO password, and is valid. | |
$contents = <<<EOT | |
#This file was written by Drush's Sqlmysql.php. | |
+[mysqldump] | |
+column-statistics=0 | |
[client] | |
user="{$dbSpec['username']}" | |
password="{$dbSpec['password']}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment