Plugin Directory

Changeset 2760230


Ignore:
Timestamp:
07/22/2022 11:27:53 AM (4 years ago)
Author:
localsync
Message:

release 1.1.1

Location:
local-sync/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • local-sync/trunk/README.txt

    r2749602 r2760230  
    55Requires at least: 3.0.1
    66Tested up to: 6.0
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5151
    5252== Changelog ==
     53
     54= 1.1.1 =
     55*Release Date - 22 Jul 2022*
     56
     57* Fix : Pushing and pulling failed in a few sites having MariaDB Database.
     58
    5359= 1.1.0 =
    5460*Release Date - 29 Jun 2022*
  • local-sync/trunk/admin/class-local-sync-batch-download.php

    r2749602 r2760230  
    225225
    226226            local_sync_log(count($files_to_zip), "--------files_to_download--------");
     227            // local_sync_log($files_to_zip, "--------files_to_download--------");
    227228
    228229            $can_continue = true;
     
    327328                        break;
    328329                    }
     330                    $can_continue = false;
    329331                }
    330332
  • local-sync/trunk/admin/class-local-sync-batch-upload.php

    r2749602 r2760230  
    241241                }
    242242
     243                $can_continue = false;
    243244            } while ($can_continue);
    244245
  • local-sync/trunk/admin/class-local-sync-db-op.php

    r2749602 r2760230  
    551551
    552552    public function complete_all_tables(){
    553         $update_all_tables = "UPDATE " . $this->db->base_prefix . "local_sync_processed_iterator SET offset = '-1' WHERE `name` NOT LIKE '%/%'";
     553        $update_all_tables = "UPDATE " . $this->db->base_prefix . "local_sync_processed_iterator SET `offset` = '-1' WHERE `name` NOT LIKE '%/%'";
    554554
    555555        local_sync_log($update_all_tables, '---------------$update_all_tables-----------------');
     
    665665    private function save_colllected_tables(){
    666666
    667         $sql = "INSERT IGNORE INTO " . $this->db->base_prefix . "local_sync_processed_iterator (id, name, offset) values " . $this->bulk_table_insert;
     667        $sql = "INSERT IGNORE INTO " . $this->db->base_prefix . "local_sync_processed_iterator (id, `name`, `offset`) values " . $this->bulk_table_insert;
    668668
    669669        $result = $this->db->query($sql);
     
    678678        $table_name = $this->wpdb->base_prefix . 'local_sync_current_process';
    679679        $insert_str = "(NULL, '$table_name', 0)";
    680         $sql = "insert into `" . $this->db->base_prefix . "local_sync_processed_iterator` (id, name, offset) values $insert_str";
     680        $sql = "insert into `" . $this->db->base_prefix . "local_sync_processed_iterator` (id, `name`, `offset`) values $insert_str";
    681681
    682682        // local_sync_log($sql,'-----------$sql save_colllected_table_local_file_list----------------');
  • local-sync/trunk/admin/class-local-sync-file-iterator.php

    r2245393 r2760230  
    174174
    175175    private function insert_into_iterator_process($qry){
    176         $sql = "insert into " . $this->wpdb->base_prefix . "local_sync_processed_iterator ( name, offset  ) values $qry";
     176        $sql = "insert into " . $this->wpdb->base_prefix . "local_sync_processed_iterator ( `name`, `offset`  ) values $qry";
    177177
    178178        $result = $this->wpdb->query($sql);
  • local-sync/trunk/admin/class-local-sync-files-op.php

    r2749602 r2760230  
    112112
    113113    public function get_unfnished_folder() {
    114         $sql = "SELECT * FROM {$this->wpdb->base_prefix}local_sync_processed_iterator WHERE offset != -1 ORDER BY id LIMIT 1";
     114        $sql = "SELECT * FROM {$this->wpdb->base_prefix}local_sync_processed_iterator WHERE `offset` != -1 ORDER BY id LIMIT 1";
    115115        $response = $this->wpdb->get_results($sql);
    116116
     
    123123        $table_name = "{$this->wpdb->base_prefix}local_sync_processed_iterator";
    124124
    125         $sql = "INSERT INTO `$table_name` (name,offset) VALUES (%s,%s) ON DUPLICATE KEY UPDATE offset = %s";
     125        $sql = "INSERT INTO `$table_name` (`name`, `offset` ) VALUES (%s,%s) ON DUPLICATE KEY UPDATE `offset` = %s";
    126126        $sql = $this->wpdb->prepare($sql,$table,$offset,$offset);
    127127
     
    501501
    502502    public function get_limited_files_to_zip($limit = 50) {
    503         $sql = "SELECT file_path FROM `{$this->wpdb->base_prefix}local_sync_current_process` WHERE STATUS='Q' LIMIT $limit";
     503        $sql = "SELECT file_path FROM `{$this->wpdb->base_prefix}local_sync_current_process` WHERE status='Q' LIMIT $limit";
    504504        $response = $this->wpdb->get_results($sql);
    505505
     
    512512
    513513    public function get_limited_files_to_zip_array($limit = 10) {
    514         $sql = "SELECT file_path FROM `{$this->wpdb->base_prefix}local_sync_current_process` WHERE STATUS='Q' LIMIT $limit";
     514        $sql = "SELECT file_path FROM `{$this->wpdb->base_prefix}local_sync_current_process` WHERE status='Q' LIMIT $limit";
    515515        $response = $this->wpdb->get_results($sql, ARRAY_A);
    516516
  • local-sync/trunk/local-sync-constants.php

    r2749602 r2760230  
    7575
    7676    public function versions(){
    77         $this->define( 'LOCAL_SYNC_VERSION', '1.1.0' );
     77        $this->define( 'LOCAL_SYNC_VERSION', '1.1.1' );
    7878        $this->define( 'LOCAL_SYNC_DATABASE_VERSION', '1.0' );
    7979    }
  • local-sync/trunk/local-sync.php

    r2749602 r2760230  
    1212 * Plugin URI:        https://localsync.io
    1313 * Description:       Easily migrate your WordPress Site from one host to another.
    14  * Version:           1.1.0
     14 * Version:           1.1.1
    1515 * Author:            Revmakx
    1616 * Author URI:        https://revmakx.com
Note: See TracChangeset for help on using the changeset viewer.