]> git.mxchange.org Git - friendica.git/blobdiff - src/Database/DBA.php
Issue 10768: Avoid MySQL problems when upgrading both index and structure
[friendica.git] / src / Database / DBA.php
index 54c317ba3386dba99ba0f6e014cede9b280a32a0..e44260914eeb20c11c959fa0b000d71277180066 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -421,7 +421,7 @@ class DBA
         * @param string|array  $table      Table name or array [schema => table]
         * @param array         $fields     contains the fields that are updated
         * @param array         $condition  condition array with the key values
-        * @param array|boolean $old_fields array with the old field values that are about to be replaced (true = update on duplicate)
+        * @param array|boolean $old_fields array with the old field values that are about to be replaced (true = update on duplicate, false = don't update identical fields)
         *
         * @return boolean was the update successfull?
         * @throws \Exception