64
+----------------------+------------+--------+
65
| concat('>',col1,'<') | col2 | col3 |
66
+----------------------+------------+--------+
68
| >a < | 0123456789 | 4 |
70
+----------------------+------------+--------+
71
27
+-------------------+
73
29
+-------------------+
92
48
Field Type Null Key Default Extra
96
52
+------+---+------+
98
54
+------+---+------+
99
55
| NULL | 1 | NULL |
100
56
+------+---+------+
101
+-------+---------+------+-----+---------+-------+
102
| Field | Type | Null | Key | Default | Extra |
103
+-------+---------+------+-----+---------+-------+
104
| i | int(11) | YES | | NULL | |
105
| j | int(11) | NO | | NULL | |
106
| k | int(11) | YES | | NULL | |
107
+-------+---------+------+-----+---------+-------+
57
+-------+------+------+-----+---------+-------+
58
| Field | Type | Null | Key | Default | Extra |
59
+-------+------+------+-----+---------+-------+
60
| i | int | YES | | NULL | |
61
| j | int | NO | | NULL | |
62
| k | int | YES | | NULL | |
63
+-------+------+------+-----+---------+-------+
126
82
create table t1(a int, b varchar(255), c int);
127
83
Field Type Null Key Default Extra
129
85
b varchar(255) YES NULL
131
87
Field Type Null Key Default Extra
133
89
b varchar(255) YES NULL
138
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
139
ERROR at line 1: USE must be followed by a database name
94
ERROR 1064 (42000) at line 4: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near '' at line 1
95
ERROR: USE must be followed by a database name
144
96
create table t17583 (a int);
145
97
insert into t17583 (a) values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
146
98
insert into t17583 select a from t17583;
156
108
drop table t17583;
157
109
Test connect without db- or host-name => reconnect
158
110
Test connect with dbname only => new dbname, old hostname
159
ERROR 1064 (42000) at line 1: 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 'connecttest' at line 1
111
ERROR 1064 (42000) at line 2: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near 'connecttest' at line 1
160
112
Test connect with _invalid_ dbname only => new invalid dbname, old hostname
161
ERROR 1049 (42000) at line 1: Unknown database 'invalid'
162
ERROR 1049 (42000) at line 1: Unknown database 'invalid'
113
ERROR 1049 (42000): Unknown database 'invalid'
114
ERROR 1049 (42000): Unknown database 'invalid'
163
115
Test connect with dbname + hostname
164
116
Test connect with dbname + _invalid_ hostname
165
ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (errno)
166
ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (errno)
167
The commands reported in the bug report
168
ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'cyril has found a bug :)XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' (errno)
170
ERROR 1102 (42000) at line 1: Incorrect database name 'test_really_long_dbnamexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
172
ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'cyrils_superlonghostnameXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' (errno)
175
ERROR at line 1: DELIMITER cannot contain a backslash character
176
ERROR at line 1: DELIMITER cannot contain a backslash character
181
This is a file starting with UTF8 BOM 0xEFBBBF
182
This is a file starting with UTF8 BOM 0xEFBBBF
184
WARNING: --server-arg option not supported in this configuration.
185
*************************** 1. row ***************************
381
Warning (Code 1286): Unknown table engine 'nonexistent'
382
Warning (Code 1266): Using storage engine MyISAM for table 't2'
383
Warning (Code 1286): Unknown table engine 'nonexistent2'
384
Warning (Code 1266): Using storage engine MyISAM for table 't2'
385
Error (Code 1050): Table 't2' already exists