1
by brian
clean slate |
1 |
purge master logs before (select adddate(current_timestamp(), interval -4 day));
|
2 |
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select adddate(current_timestamp(), interval -4 day))' at line 1
|
|
3 |
purge master logs before adddate(current_timestamp(), interval -4 day);
|
|
4 |
create table t1(a int,b int,key(a),key(b));
|
|
5 |
insert into t1(a,b) values (1,2),(2,1),(2,3),(3,4),(5,4),(5,5),
|
|
6 |
(6,7),(7,4),(5,3);
|
|
7 |
5
|
|
8 |
4
|
|
9 |
3
|
|
10 |
2
|
|
11 |
1
|
|
12 |
26
|
|
13 |
25
|
|
14 |
24
|
|
15 |
23
|
|
16 |
22
|
|
17 |
21
|
|
18 |
20
|
|
19 |
19
|
|
20 |
18
|
|
21 |
17
|
|
22 |
16
|
|
23 |
15
|
|
24 |
14
|
|
25 |
13
|
|
26 |
12
|
|
27 |
11
|
|
28 |
10
|
|
29 |
9
|
|
30 |
8
|
|
31 |
7
|
|
32 |
6
|
|
33 |
5
|
|
34 |
4
|
|
35 |
3
|
|
36 |
2
|
|
37 |
1
|
|
38 |
drop table t1;
|
|
39 |
End of 5.1 tests
|