moodle/privacy/tests
Eloy Lafuente (stronk7) c9840c0144 MDL-62619 privacy: Prevent action when boolean queries are involved
Before the patch, queries like:

SELECT 1 FROM dual UNION SELECT 2 FROM dual

were failing badly, with everything but the first numeric element
being ignored by the optimization.

So, being conservative, now we reduce the query being analysed,
ignoring any subquery, inline view (anything within parenthesis
in general) and, in the remaining query, if a boolean query (UNION,
MINUS, INTERSECT...) is found, we don't apply any optimization.
2018-08-09 16:05:55 +02:00
..
fixtures MDL-62134 core_privacy: Allow for a failure handler 2018-05-16 11:52:46 +08:00
approved_contextlist_test.php
collection_test.php MDL-61692 core_privacy: add privacyfields to link_ methods 2018-04-04 10:00:39 +08:00
contextlist_base_test.php MDL-62574 core_privacy: Unit tests to check the context base. 2018-06-12 11:24:38 +08:00
contextlist_collection_test.php
contextlist_test.php MDL-62619 privacy: Prevent action when boolean queries are involved 2018-08-09 16:05:55 +02:00
legacy_polyfill_test.php MDL-61751 core_privacy: Correct test return 2018-04-01 13:34:44 +08:00
manager_test.php MDL-62134 core_privacy: Allow for a failure handler 2018-05-16 11:52:46 +08:00
moodle_content_writer_test.php Merge branch 'MDL-62251-master' of git://github.com/rezaies/moodle 2018-05-13 20:10:44 +02:00
provider_test.php MDL-62147 privacy: unittest ensures that all tables covered 2018-05-16 13:57:19 +08:00
request_helper_test.php
request_transform_test.php MDL-62049 core_privacy: use correct lang string for date 2018-04-23 13:03:23 +08:00
sitepolicy_test.php MDL-61759 admin: non-existing site policy handler means no policy 2018-04-23 10:25:00 +08:00
tests_content_writer_test.php MDL-61976 privacy: add subcontext argument to has_any_data 2018-05-08 12:03:41 +08:00
types_database_table_test.php
types_external_location_test.php
types_plugintype_link_test.php MDL-61692 core_privacy: add privacyfields to link_ methods 2018-04-04 10:00:39 +08:00
types_subsystem_link_test.php MDL-61692 core_privacy: add privacyfields to link_ methods 2018-04-04 10:00:39 +08:00
types_user_preference_test.php
writer_test.php MDL-61407 privacy: Reset the writer after writer tests 2018-05-03 16:14:38 +08:00