Details
Description
Hi Tim,
I found this error while updating my 2.0 test system. Its only a testing system, not productive
error: DDL sql execution
(mysql): CREATE TABLE mdl_question_dataset_definitions ( id BIGINT(10) unsigned NOT NULL auto_increment, category BIGINT(10) unsigned NOT NULL DEFAULT 0, name VARCHAR(255) NOT NULL DEFAULT '', type BIGINT(10) NOT NULL DEFAULT 0, options VARCHAR(255) NOT NULL DEFAULT '', itemcount BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) ) 1050: Table 'mdl_question_dataset_definitions' already exists
ADOConnection._Execute(CREATE TABLE mdl_question_dataset_definitions (
id BIGINT(10) unsigned NOT NULL auto_increment,
category BIGINT(10) unsi..., false) % line 893, file: adodb.inc.php
ADOConnection.Execute(CREATE TABLE mdl_question_dataset_definitions (
id BIGINT(10) unsigned NOT NULL auto_increment,
category BIGINT(10) unsi...) % line 197, file: adodb_moodle_database.php
adodb_moodle_database.change_database_structure(CREATE TABLE mdl_question_dataset_definitions (
id BIGINT(10) unsigned NOT NULL auto_increment,
category BIGINT(10) unsi...) % line 83, file: database_manager.php
database_manager.execute_sql(CREATE TABLE mdl_question_dataset_definitions (
id BIGINT(10) unsigned NOT NULL auto_increment,
category BIGINT(10) unsi...) % line 70, file: database_manager.php
database_manager.execute_sql_arr(Array[11]) % line 432, file: database_manager.php
Issue Links
| This issue is duplicated by: | ||||
| MDL-16492 | upgrade from 1.9->2.0 fails on question/type/datasetdependent plugin because tables already there |
|
|
|
closing as duplicate, the linked bugs has explanation why this happens and links to other related problem
thanks for the report!