]> git.mxchange.org Git - friendica.git/blobdiff - include/post_update.php
Merge pull request #2758 from annando/1609-sql-charset
[friendica.git] / include / post_update.php
index 6918bf0fa433d64fac2c719b0a74758bd4511f31..d45a51b5f2907345ba25045088ed26e7ee120e8b 100644 (file)
@@ -159,7 +159,7 @@ function post_update_1198() {
        logger("Start", LOGGER_DEBUG);
 
        // Check if the first step is done (Setting "author-id" and "owner-id" in the item table)
-       $r = q("SELECT `author-link`, `owner-link`, `uid` FROM `item` WHERE `author-id` = 0 AND `owner-id` = 0 LIMIT 1000");
+       $r = q("SELECT `author-link`, `owner-link`, `uid` FROM `item` WHERE `author-id` = 0 AND `owner-id` = 0 LIMIT 100");
        if (!$r) {
                // Are there unfinished entries in the thread table?
                $r = q("SELECT COUNT(*) AS `total` FROM `thread`