You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mysql-test/main/mysql.result
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,10 @@ c int(11) YES NULL
137
137
drop table t1;
138
138
1
139
139
1
140
+
--------------
141
+
use
142
+
--------------
143
+
140
144
ERROR 1064 (42000) at line 3: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
141
145
ERROR at line 1: USE must be followed by a database name
142
146
1 +1
@@ -166,6 +170,10 @@ count(*)
166
170
drop table t17583;
167
171
Test connect without db- or host-name => reconnect
168
172
Test connect with dbname only => new dbname, old hostname
173
+
--------------
174
+
connecttest
175
+
--------------
176
+
169
177
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'connecttest' at line 1
170
178
Test connect with _invalid_ dbname only => new invalid dbname, old hostname
171
179
ERROR 1049 (42000) at line 1: Unknown database 'invalid'
0 commit comments