~vkolesnikov/pbxt/pbxt-07-diskfull

« back to all changes in this revision

Viewing changes to pbxt/mysql-test-update/mysql-test/r/mysql.result

  • Committer: paul-mccullagh
  • Date: 2006-10-23 09:14:04 UTC
  • Revision ID: paul-mccullagh-918861e03d351978a9541168a96e58cc826734ee
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
drop table if exists t1;
 
2
create table t1(a int);
 
3
insert into t1 values(1);
 
4
ERROR at line 9: DELIMITER must be followed by a 'delimiter' character or string
 
5
 
 
6
Test default delimiter ;
 
7
a
 
8
1
 
9
 
 
10
Test delimiter without arg
 
11
 
 
12
Test delimiter :
 
13
a
 
14
1
 
15
 
 
16
Test delimiter :
 
17
a
 
18
1
 
19
 
 
20
Test delimiter :;
 
21
a
 
22
1
 
23
 
 
24
Test delimiter //
 
25
a
 
26
1
 
27
 
 
28
Test delimiter MySQL
 
29
a
 
30
1
 
31
 
 
32
Test delimiter delimiter
 
33
a
 
34
1
 
35
Tables_in_test
 
36
t1
 
37
t2
 
38
t3
 
39
_
 
40
Test delimiter : from command line
 
41
a
 
42
1
 
43
_
 
44
Test delimiter :; from command line
 
45
a
 
46
1
 
47
_
 
48
Test 'go' command(vertical output) G
 
49
*************************** 1. row ***************************
 
50
a: 1
 
51
_
 
52
Test  'go' command g
 
53
a
 
54
1
 
55
drop table t1;
 
56
create table t1(a int);
 
57
lock tables t1 write;
 
58
database()
 
59
test
 
60
unlock tables;
 
61
drop table t1;
 
62
 
63
 
64
c_cp932
 
65
 
66
 
67
 
68
 
69
 
70
 
71
 
72
+----------------------+------------+--------+
 
73
| concat('>',col1,'<') | col2       | col3   |
 
74
+----------------------+------------+--------+
 
75
| >a   <               | b          | 123421 | 
 
76
| >a   <               | 0123456789 |      4 | 
 
77
| >abcd<               |            |      4 | 
 
78
+----------------------+------------+--------+
 
79
+------+------+---------------------------+
 
80
| i    | j    | k                         |
 
81
+------+------+---------------------------+
 
82
|    1 | NULL | NULL                      | 
 
83
| NULL | NULL | <-----------------------> | 
 
84
| NULL | NULL | <-----                    | 
 
85
| NULL | NULL | Τη γλώσσα                 | 
 
86
| NULL | NULL | ᛖᚴ ᚷᛖᛏ                    | 
 
87
+------+------+---------------------------+
 
88
+------+---+------+
 
89
| i    | j | k    |
 
90
+------+---+------+
 
91
| NULL | 1 | NULL | 
 
92
+------+---+------+
 
93
+-------+---------+------+-----+---------+-------+
 
94
| Field | Type    | Null | Key | Default | Extra |
 
95
+-------+---------+------+-----+---------+-------+
 
96
| i     | int(11) | YES  |     | NULL    |       | 
 
97
| j     | int(11) | NO   |     |         |       | 
 
98
| k     | int(11) | YES  |     | NULL    |       | 
 
99
+-------+---------+------+-----+---------+-------+
 
100
+------+------+
 
101
| i    | s1   |
 
102
+------+------+
 
103
|    1 | x    | 
 
104
|    2 | NULL | 
 
105
|    3 |      | 
 
106
+------+------+
 
107
create table t1(a int, b varchar(255), c int);
 
108
Field   Type    Null    Key     Default Extra
 
109
a       int(11) YES             NULL    
 
110
b       varchar(255)    YES             NULL    
 
111
c       int(11) YES             NULL    
 
112
Field   Type    Null    Key     Default Extra
 
113
a       int(11) YES             NULL    
 
114
b       varchar(255)    YES             NULL    
 
115
c       int(11) YES             NULL    
 
116
drop table t1;
 
117
1
 
118
1
 
119
ERROR 1064 (42000) at line 3: 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 '' at line 1
 
120
ERROR at line 1: USE must be followed by a database name
 
121
\
 
122
\\
 
123
';
 
124
';
 
125
End of 5.0 tests