You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
158 lines
4.5 KiB
158 lines
4.5 KiB
2 years ago
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<!-- User login, view course and post - Tests queries 10, 12, 14 (write) -->
|
||
|
<dataset>
|
||
|
<table name="log">
|
||
|
<column>time</column>
|
||
|
<column>userid</column>
|
||
|
<column>course</column>
|
||
|
<column>action</column>
|
||
|
<row>
|
||
|
<value>[start_1]</value>
|
||
|
<value>[user1_id]</value>
|
||
|
<value>[site_id]</value>
|
||
|
<value>login</value>
|
||
|
</row>
|
||
|
<row>
|
||
|
<value>[start_2]</value>
|
||
|
<value>[user1_id]</value>
|
||
|
<value>[course1_id]</value>
|
||
|
<value>view</value>
|
||
|
</row>
|
||
|
<row>
|
||
|
<value>[start_3]</value>
|
||
|
<value>[user1_id]</value>
|
||
|
<value>[course1_id]</value>
|
||
|
<value>add post</value>
|
||
|
</row>
|
||
|
</table>
|
||
|
<table name="stats_daily">
|
||
|
<column>courseid</column>
|
||
|
<column>timeend</column>
|
||
|
<column>roleid</column>
|
||
|
<column>stattype</column>
|
||
|
<column>stat1</column>
|
||
|
<column>stat2</column>
|
||
|
<!-- Query 2 -->
|
||
|
<row>
|
||
|
<value>[site_id]</value>
|
||
|
<value>[end]</value>
|
||
|
<value>0</value>
|
||
|
<value>logins</value>
|
||
|
<value>1</value>
|
||
|
<value>1</value>
|
||
|
</row>
|
||
|
<!-- Queris 3 (stat1) and 4 (stat2) -->
|
||
|
<row>
|
||
|
<value>[course1_id]</value>
|
||
|
<value>[end]</value>
|
||
|
<value>[student_roleid]</value>
|
||
|
<value>enrolments</value>
|
||
|
<value>1</value>
|
||
|
<value>1</value>
|
||
|
</row>
|
||
|
<!-- Queries 5 (stat1) and 6 (stat2) -->
|
||
|
<row>
|
||
|
<value>[course1_id]</value>
|
||
|
<value>[end]</value>
|
||
|
<value>0</value>
|
||
|
<value>enrolments</value>
|
||
|
<value>1</value>
|
||
|
<value>1</value>
|
||
|
</row>
|
||
|
<!-- Query 7 -->
|
||
|
<row>
|
||
|
<value>[site_id]</value>
|
||
|
<value>[end]</value>
|
||
|
<value>0</value>
|
||
|
<value>enrolments</value>
|
||
|
<value>4</value>
|
||
|
<value>1</value>
|
||
|
</row>
|
||
|
<!-- Query 9 -->
|
||
|
<row>
|
||
|
<value>[site_id]</value>
|
||
|
<value>[end]</value>
|
||
|
<value>[frontpage_roleid]</value>
|
||
|
<value>enrolments</value>
|
||
|
<value>4</value>
|
||
|
<value>1</value>
|
||
|
</row>
|
||
|
<!-- Query 11 -->
|
||
|
<row>
|
||
|
<value>[site_id]</value>
|
||
|
<value>[end]</value>
|
||
|
<value>0</value>
|
||
|
<value>activity</value>
|
||
|
<value>0</value>
|
||
|
<value>0</value>
|
||
|
</row>
|
||
|
<!-- Query 11 -->
|
||
|
<row>
|
||
|
<value>[course1_id]</value>
|
||
|
<value>[end]</value>
|
||
|
<value>0</value>
|
||
|
<value>activity</value>
|
||
|
<value>1</value>
|
||
|
<value>1</value>
|
||
|
</row>
|
||
|
<!-- Query 12 (read) -->
|
||
|
<row>
|
||
|
<value>[course1_id]</value>
|
||
|
<value>[end]</value>
|
||
|
<value>[student_roleid]</value>
|
||
|
<value>activity</value>
|
||
|
<value>1</value>
|
||
|
<value>1</value>
|
||
|
</row>
|
||
|
</table>
|
||
|
<table name="stats_user_daily">
|
||
|
<column>courseid</column>
|
||
|
<column>userid</column>
|
||
|
<column>roleid</column>
|
||
|
<column>timeend</column>
|
||
|
<column>statsreads</column>
|
||
|
<column>statswrites</column>
|
||
|
<column>stattype</column>
|
||
|
<!-- Query 1 -->
|
||
|
<row>
|
||
|
<value>[site_id]</value>
|
||
|
<value>[user1_id]</value>
|
||
|
<value>0</value>
|
||
|
<value>[end]</value>
|
||
|
<value>1</value>
|
||
|
<value>0</value>
|
||
|
<value>logins</value>
|
||
|
</row>
|
||
|
<!-- Query 10 -->
|
||
|
<row>
|
||
|
<value>[course1_id]</value>
|
||
|
<value>[user1_id]</value>
|
||
|
<value>0</value>
|
||
|
<value>[end]</value>
|
||
|
<value>1</value>
|
||
|
<value>1</value>
|
||
|
<value>activity</value>
|
||
|
</row>
|
||
|
<!-- Query 10 -->
|
||
|
<row>
|
||
|
<value>[site_id]</value>
|
||
|
<value>[user1_id]</value>
|
||
|
<value>0</value>
|
||
|
<value>[end]</value>
|
||
|
<value>0</value>
|
||
|
<value>0</value>
|
||
|
<value>activity</value>
|
||
|
</row>
|
||
|
<!-- Query 10 - default record -->
|
||
|
<row>
|
||
|
<value>[site_id]</value>
|
||
|
<value>0</value>
|
||
|
<value>0</value>
|
||
|
<value>[end]</value>
|
||
|
<value>0</value>
|
||
|
<value>0</value>
|
||
|
<value>activity</value>
|
||
|
</row>
|
||
|
</table>
|
||
|
</dataset>
|