|
|
| Participants: |
Eloy Lafuente (stronk7)
|
| Security Level: |
None
|
| Resolved date: |
26/May/08
|
| Affected Branches: |
MOODLE_20_STABLE
|
| Fixed Branches: |
MOODLE_20_STABLE
|
|
Modify the suggested code by XMLDB editor to make all the creation functions (create_table, create_index...) to be executed within one:
if (!table_exists...)
block.
Right now, create_table() itself checks this, returning true and we are going to change this to return false. So conditions will be necessary (or exception handling).
|
|
Description
|
Modify the suggested code by XMLDB editor to make all the creation functions (create_table, create_index...) to be executed within one:
if (!table_exists...)
block.
Right now, create_table() itself checks this, returning true and we are going to change this to return false. So conditions will be necessary (or exception handling). |
Show » |
committed 1 file to 'Moodle CVS' - 24/May/08 06:24 AM
Conditionally execute create/drop table dbmanager functions. MDL-14955
|
|
|
committed 1 file to 'Moodle CVS' - 24/May/08 06:26 AM
And also conditionally create/drop indexes and fields. MDL-14955
|
|
|
|