moodle/backup/util
Russell Smith 3e7e2ab2ee MDL-40618 backup: centralize info field, use info in queries.
encode_backup_temp_info() and decode_backup_temp_info() have been
introduced to keep the info field encoding in one place.
Many locations used get_backup_ids_record() to obtain info, that
makes lots of calls to get_backup_ids_record() which can be slow.
We now complete all those inline by adding the info field to the query.
To reduce memory usage, all queries of that nature have been changed
to use get_recordset_*. gzcompress was introduced if available to minimize
traffic to/from the database and to decrease the memory required for caching.
The compression time is saved by the benefits in other places of having smaller data.
2013-07-23 19:50:53 +10:00
..
checks MDL-36753 fix invalid sectionid in backup tests 2012-11-21 12:43:55 +01:00
dbops MDL-40618 backup: centralize info field, use info in queries. 2013-07-23 19:50:53 +10:00
destinations/tests MDL-32569 convert remaining backup tests and drop old simpletests 2012-04-21 16:24:33 +02:00
factories MDL-33682 backup: keep old behavior, aka, use section number on empty section name. 2012-06-13 00:54:21 +02:00
helper MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
includes MDL-31484 backup - repeated restores with anonymised users now works correctly 2012-11-29 19:57:16 +00:00
interfaces
loggers MDL-29442 add missing utf-8 to entity html encoding and decoding 2012-12-09 18:21:38 +01:00
output
plan MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
settings MDL-38735 backup: add missing setType() to forms 2013-04-03 02:17:40 +02:00
structure MDL-31390 Allow data to be sorted at backup 2013-03-01 10:03:13 +00:00
ui MDL-40424 libraries: Deprecate context_instance_preload_sql() 2013-07-12 17:41:49 +08:00
xml MDL-37893 Take rid of old comment. 2013-02-12 10:03:29 +01:00