Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 112... Línea 112...
112
        $value++;
112
        $value++;
113
        return array("ALTER TABLE $this->prefix$tablename AUTO_INCREMENT = $value");
113
        return array("ALTER TABLE $this->prefix$tablename AUTO_INCREMENT = $value");
114
    }
114
    }
Línea 115... Línea 115...
115
 
115
 
116
    /**
-
 
117
     * Calculate proximate row size when using InnoDB
-
 
118
     * tables in Antelope row format.
-
 
119
     *
-
 
120
     * Note: the returned value is a bit higher to compensate for
-
 
121
     *       errors and changes of column data types.
-
 
122
     *
-
 
123
     * @deprecated since Moodle 2.9 MDL-49723 - please do not use this function any more.
-
 
124
     */
-
 
125
    public function guess_antolope_row_size(array $columns) {
-
 
126
        throw new coding_exception('guess_antolope_row_size() can not be used any more, please use guess_antelope_row_size() instead.');
-
 
127
    }
-
 
128
 
-
 
129
    /**
116
    /**
130
     * Calculate proximate row size when using InnoDB tables in Antelope row format.
117
     * Calculate proximate row size when using InnoDB tables in Antelope row format.
131
     *
118
     *
132
     * Note: the returned value is a bit higher to compensate for errors and changes of column data types.
119
     * Note: the returned value is a bit higher to compensate for errors and changes of column data types.
133
     *
120
     *
Línea 640... Línea 627...
640
            'of', 'over', 'percent_rank', 'persist', 'persist_only', 'rank', 'recursive', 'row_number',
627
            'of', 'over', 'percent_rank', 'persist', 'persist_only', 'rank', 'recursive', 'row_number',
641
            'system', 'window',
628
            'system', 'window',
642
            // Added in Amazon Aurora MySQL version 3.06.0:
629
            // Added in Amazon Aurora MySQL version 3.06.0:
643
            // https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/AuroraMySQL.Updates.3060.html .
630
            // https://docs.aws.amazon.com/AmazonRDS/latest/AuroraMySQLReleaseNotes/AuroraMySQL.Updates.3060.html .
644
            'accept', 'aws_bedrock_invoke_model', 'aws_sagemaker_invoke_endpoint', 'content_type', 'timeout_ms',
631
            'accept', 'aws_bedrock_invoke_model', 'aws_sagemaker_invoke_endpoint', 'content_type', 'timeout_ms',
-
 
632
            // Added in MySQL 8.4:
-
 
633
            // https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html.
-
 
634
            'auto', 'bernoulli', 'gtids', 'log', 'manual', 'parallel', 'parse_tree', 'qualify', 's3', 'tablesample',
645
        );
635
        );
646
        return $reserved_words;
636
        return $reserved_words;
647
    }
637
    }
648
}
638
}