aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions_tricky_update/fixtures/topics_watch_duplicates.xml
blob: c387bb737a87b80b8a3c66de8e7487570d65225c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="UTF-8" ?>
<dataset>
	<table name="phpbb_topics_watch">
		<column>user_id</column>
		<column>topic_id</column>
		<column>notify_status</column>

		<!-- one entry for this topic -->
		<row>
			<value>1</value>
			<value>1</value>
			<value>1</value>
		</row>

		<!-- non-conflicting entries -->
		<row>
			<value>1</value>
			<value>2</value>
			<value>1</value>
		</row>
		<row>
			<value>2</value>
			<value>3</value>
			<value>0</value>
		</row>

		<!-- conflicting entries, same notify status -->
		<row>
			<value>1</value>
			<value>4</value>
			<value>1</value>
		</row>
		<row>
			<value>1</value>
			<value>5</value>
			<value>1</value>
		</row>

		<!-- conflicting entries, notify status 0 into 1 -->
		<row>
			<value>1</value>
			<value>6</value>
			<value>0</value>
		</row>
		<row>
			<value>1</value>
			<value>7</value>
			<value>1</value>
		</row>

		<!-- conflicting entries, notify status 1 into 0 -->
		<row>
			<value>1</value>
			<value>8</value>
			<value>1</value>
		</row>
		<row>
			<value>1</value>
			<value>9</value>
			<value>0</value>
		</row>

		<!-- conflicting and non-conflicting entries -->
		<row>
			<value>1</value>
			<value>10</value>
			<value>0</value>
		</row>
		<row>
			<value>1</value>
			<value>11</value>
			<value>1</value>
		</row>
		<row>
			<value>2</value>
			<value>10</value>
			<value>1</value>
		</row>
	</table>
</dataset>