MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is alrea...
authorskodak <skodak>
Thu, 15 May 2008 21:40:00 +0000 (21:40 +0000)
committerskodak <skodak>
Thu, 15 May 2008 21:40:00 +0000 (21:40 +0000)
commitf33e1ed4ae4948e337e5fee61adc3580f81dfa80
treef9f84c3facbfd1e8bd1f76e0672497c80dc5651d
parent469dcbcc8b3fd627040d52fbad60491940007a1a
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs
112 files changed:
admin/cliupgrade.php
admin/cron.php
admin/index.php
admin/innodb.php
admin/mnet/access_control.php
admin/multilangupgrade.php
admin/replace.php
admin/roles/manage.php
admin/timezone.php
admin/xmldb/actions/check_bigints/check_bigints.class.php
admin/xmldb/actions/check_defaults/check_defaults.class.php
admin/xmldb/actions/check_indexes/check_indexes.class.php
admin/xmldb/actions/edit_statement/edit_statement.class.php
admin/xmldb/actions/edit_table/edit_table.class.php
admin/xmldb/actions/edit_xml_file/edit_xml_file.class.php
admin/xmldb/actions/load_xml_file/load_xml_file.class.php
admin/xmldb/actions/main_view/main_view.class.php
admin/xmldb/actions/new_statement/new_statement.class.php
admin/xmldb/actions/new_table_from_mysql/new_table_from_mysql.class.php
admin/xmldb/actions/test/test.class.php
admin/xmldb/actions/view_reserved_words/view_reserved_words.class.php
admin/xmldb/actions/view_structure_sql/view_structure_sql.class.php
admin/xmldb/actions/view_table_php/view_table_php.class.php
admin/xmldb/actions/view_table_sql/view_table_sql.class.php
admin/xmldb/index.php
auth/cas/auth.php
auth/ldap/auth.php
backup/lib.php
blocks/admin/block_admin.php
blog/lib.php
calendar/event.php
course/edit_form.php
course/lib.php
enrol/authorize/db/upgrade.php
file.php
grade/edit/outcome/import.php
group/index.php
group/overview.php
help.php
index.php
lib/accesslib.php
lib/adminlib.php
lib/blocklib.php
lib/datalib.php
lib/db/install.xml
lib/db/upgrade.php
lib/db/upgradelib.php
lib/ddl/database_manager.php [new file with mode: 0644]
lib/ddl/mssql_sql_generator.php [moved from lib/xmldb/classes/generators/mssql/mssql.class.php with 77% similarity]
lib/ddl/mysql_sql_generator.php [moved from lib/xmldb/classes/generators/mysql/mysql.class.php with 76% similarity]
lib/ddl/oracle_sql_generator.php [moved from lib/xmldb/classes/generators/oci8po/oci8po.class.php with 82% similarity]
lib/ddl/postgres_sql_generator.php [moved from lib/xmldb/classes/generators/postgres7/postgres7.class.php with 83% similarity]
lib/ddl/sql_generator.php [moved from lib/xmldb/classes/generators/XMLDBGenerator.class.php with 73% similarity]
lib/ddllib.php
lib/dml/adodb_moodle_database.php [new file with mode: 0644]
lib/dml/adodb_moodle_recordset.php [new file with mode: 0644]
lib/dml/moodle_database.php [new file with mode: 0644]
lib/dml/mssql_adodb_moodle_database.php [new file with mode: 0644]
lib/dml/mssql_n_adodb_moodle_database.php [new file with mode: 0644]
lib/dml/mysql_adodb_moodle_database.php [new file with mode: 0644]
lib/dml/mysqli_adodb_moodle_database.php [new file with mode: 0644]
lib/dml/oci8po_adodb_moodle_database.php [new file with mode: 0644]
lib/dml/oci8po_adodb_moodle_recordset.php [new file with mode: 0644]
lib/dml/odbc_mssql_adodb_moodle_database.php [new file with mode: 0644]
lib/dml/pdo_moodle_database.php [new file with mode: 0644]
lib/dml/pdo_moodle_recordset.php [new file with mode: 0644]
lib/dml/postgres7_adodb_moodle_database.php [new file with mode: 0644]
lib/dmllib.php
lib/dmllib_todo.php [new file with mode: 0644]
lib/environmentlib.php
lib/filelib.php
lib/grade/grade_item.php
lib/grade/lib_wrapper.php
lib/grouplib.php
lib/locallib.php
lib/moodlelib.php
lib/setup.php
lib/setuplib.php
lib/weblib.php
lib/xmldb/XMLDBConstants.php [moved from lib/xmldb/classes/XMLDBConstants.php with 100% similarity]
lib/xmldb/XMLDBField.class.php [moved from lib/xmldb/classes/XMLDBField.class.php with 100% similarity]
lib/xmldb/XMLDBFile.class.php [moved from lib/xmldb/classes/XMLDBFile.class.php with 100% similarity]
lib/xmldb/XMLDBIndex.class.php [moved from lib/xmldb/classes/XMLDBIndex.class.php with 100% similarity]
lib/xmldb/XMLDBKey.class.php [moved from lib/xmldb/classes/XMLDBKey.class.php with 100% similarity]
lib/xmldb/XMLDBObject.class.php [moved from lib/xmldb/classes/XMLDBObject.class.php with 100% similarity]
lib/xmldb/XMLDBStatement.class.php [moved from lib/xmldb/classes/XMLDBStatement.class.php with 89% similarity]
lib/xmldb/XMLDBStructure.class.php [moved from lib/xmldb/classes/XMLDBStructure.class.php with 96% similarity]
lib/xmldb/XMLDBTable.class.php [moved from lib/xmldb/classes/XMLDBTable.class.php with 72% similarity]
lib/xmldb/classes/generators/mssql_n/mssql_n.class.php [deleted file]
lib/xmldb/classes/generators/mysqli/mysqli.class.php [deleted file]
lib/xmldb/classes/generators/odbc_mssql/odbc_mssql.class.php [deleted file]
mod/assignment/db/upgrade.php
mod/chat/lib.php
mod/choice/mod_form.php
mod/data/db/upgrade.php
mod/data/import.php
mod/feedback/db/upgrade.php
mod/forum/db/upgrade.php
mod/glossary/edit.php
mod/glossary/edit_form.php
mod/hotpot/attempt.php
mod/hotpot/db/upgrade.php
mod/hotpot/index.php
mod/hotpot/lib.php
mod/hotpot/restorelib.php
mod/hotpot/view.php
mod/lesson/db/upgrade.php
mod/quiz/report/grading/report.php
mod/quiz/report/overview/report.php
mod/survey/mod_form.php
mod/wiki/ewiki/plugins/page/orphanedpages.php
search/indexlib.php