1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!-- User login and view course (not enrolled) - Tests queries 13 (not enroled), 14 (not default) -->
6 <column>userid</column>
7 <column>course</column>
8 <column>action</column>
10 <value>[start_1]</value>
11 <value>[user2_id]</value>
12 <value>[site_id]</value>
16 <value>[start_2]</value>
17 <value>[user2_id]</value>
18 <value>[site_id]</value>
22 <value>[start_3]</value>
23 <value>[user2_id]</value>
24 <value>[course1_id]</value>
28 <table name="stats_daily">
29 <column>courseid</column>
30 <column>timeend</column>
31 <column>roleid</column>
32 <column>stattype</column>
33 <column>stat1</column>
34 <column>stat2</column>
37 <value>[site_id]</value>
46 <value>[course1_id]</value>
48 <value>[student_roleid]</value>
49 <value>enrolments</value>
55 <value>[course1_id]</value>
58 <value>enrolments</value>
64 <value>[site_id]</value>
67 <value>enrolments</value>
73 <value>[site_id]</value>
75 <value>[frontpage_roleid]</value>
76 <value>enrolments</value>
82 <value>[site_id]</value>
85 <value>activity</value>
91 <value>[course1_id]</value>
94 <value>activity</value>
100 <value>[course1_id]</value>
102 <value>[guest_roleid]</value>
103 <value>activity</value>
109 <value>[site_id]</value>
111 <value>[frontpage_roleid]</value>
112 <value>activity</value>
117 <table name="stats_user_daily">
118 <column>courseid</column>
119 <column>userid</column>
120 <column>roleid</column>
121 <column>timeend</column>
122 <column>statsreads</column>
123 <column>statswrites</column>
124 <column>stattype</column>
127 <value>[site_id]</value>
128 <value>[user2_id]</value>
133 <value>logins</value>
137 <value>[course1_id]</value>
138 <value>[user2_id]</value>
143 <value>activity</value>
147 <value>[site_id]</value>
148 <value>[user2_id]</value>
153 <value>activity</value>
155 <!-- Query 10 - default record -->
157 <value>[site_id]</value>
163 <value>activity</value>