Skip to content

Commit

Permalink
Added missing PK causing problems in MySQL. Will test that later in
Browse files Browse the repository at this point in the history
proper DDL tests...
  • Loading branch information
stronk7 committed Nov 3, 2009
1 parent bcfc6dc commit 7c47635
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dml/simpletest/testdml.php
Original file line number Diff line number Diff line change
Expand Up @@ -2347,6 +2347,7 @@ public function test_get_records_sql_complicated() {

$table->add_field('id', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, XMLDB_SEQUENCE, null);
$table->add_field('course', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, '0');
$table->add_key('primary', XMLDB_KEY_PRIMARY, array('id'));
$dbman->create_table($table);
$this->tables[$tablename] = $table;

Expand Down

0 comments on commit 7c47635

Please sign in to comment.