Plugin Directory

Changeset 2775589


Ignore:
Timestamp:
08/25/2022 02:32:30 PM (3 years ago)
Author:
supportcandy
Message:

Fix: auto-increment issue for some installations while upgrade

Location:
supportcandy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • supportcandy/tags/3.0.7/class-wpsc-installation.php

    r2773484 r2775589  
    310310            global $wpdb;
    311311
     312            $wpdb->query( 'SET auto_increment_increment = 1' );
     313            $wpdb->query( 'SET auto_increment_offset = 1' );
     314
    312315            // string translations.
    313316            $string_translations = array();
  • supportcandy/trunk/class-wpsc-installation.php

    r2773484 r2775589  
    310310            global $wpdb;
    311311
     312            $wpdb->query( 'SET auto_increment_increment = 1' );
     313            $wpdb->query( 'SET auto_increment_offset = 1' );
     314
    312315            // string translations.
    313316            $string_translations = array();
Note: See TracChangeset for help on using the changeset viewer.