Skip to content
Snippets Groups Projects
Unverified Commit f4f1d250 authored by Daniel's avatar Daniel
Browse files

DOC: Docker info in README_SETUP.md, fixed procedure documentation.

parent 5068d086
No related branches found
No related tags found
No related merge requests found
......@@ -73,5 +73,11 @@ with the then current version of the stored entities.
## Unit tests
* We use [MyTAP-1.0](https://hepabolu.github.io/mytap/) for unit tests.
* Requirements:
* mysqladmin
* mysqldump
* mysql client program
* Tests are in `tests/test_*.sql`.
* Run `make test`.
* Alternatively, to run the tests in a containerized MariaDB instance, run `make test-docker`,
followed by `make test-docker-stop`.
......@@ -30,7 +30,7 @@ DELIMITER //
/**
* Process a set of entities, keeping those which are referenced in a specific way.
*
* This procedure filters a source table and writes the result is written into a target table. If
* This procedure filters a source table and writes the result into a target table. If
* the target table is not given, all non-matching entries are deleted from the source table
* instead.
*
......@@ -58,8 +58,7 @@ DELIMITER //
* versioned : boolean
* If True, if a reference is versioned (references to specific versions of entities), the target
* candidate's version must match. Therefore, the sourceSet and targetSet must have a `_iversion`
* column as well (unless sourceSet is the `entities` table). If `sourceSet` is the `entities`
* table, unversioned references will result in all versions of a referenced candidate being returned.
* column as well (unless sourceSet is the `entities` table).
*
*/
CREATE PROCEDURE db_2_0.applyBackReference(in sourceSet VARCHAR(255), targetSet VARCHAR(255),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment