@@ -2,7 +2,7 @@ Table Create Table
2
2
t1 CREATE TABLE `t1` (
3
3
`Name` varchar(256) NOT NULL,
4
4
`Description` varchar(256) DEFAULT NULL
5
- ) ENGINE=CONNECT DEFAULT CHARSET=latin1 `TABLE_TYPE`='ODBC' `CATFUNC`='Sources'
5
+ ) ENGINE=CONNECT DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci `TABLE_TYPE`='ODBC' `CATFUNC`='Sources'
6
6
SET NAMES utf8;
7
7
#
8
8
# Checking CATFUNC=Tables
@@ -157,7 +157,7 @@ SHOW CREATE TABLE t1;
157
157
Table Create Table
158
158
t1 CREATE TABLE `t1` (
159
159
`a` int(10) NOT NULL
160
- ) ENGINE=CONNECT DEFAULT CHARSET=latin1 CONNECTION='DSN=ConnectEnginePostgresql;UID=mtr;PWD=mtr' `TABLE_TYPE`='ODBC'
160
+ ) ENGINE=CONNECT DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci CONNECTION='DSN=ConnectEnginePostgresql;UID=mtr;PWD=mtr' `TABLE_TYPE`='ODBC'
161
161
SELECT * FROM t1;
162
162
a
163
163
10
@@ -168,7 +168,7 @@ SHOW CREATE TABLE t2;
168
168
Table Create Table
169
169
t2 CREATE TABLE `t2` (
170
170
`a` int(10) NOT NULL
171
- ) ENGINE=MyISAM DEFAULT CHARSET=latin1
171
+ ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
172
172
SELECT * FROM t2;
173
173
a
174
174
10
@@ -189,7 +189,7 @@ SHOW CREATE TABLE t1;
189
189
Table Create Table
190
190
t1 CREATE TABLE `t1` (
191
191
`a` int(10) NOT NULL
192
- ) ENGINE=CONNECT DEFAULT CHARSET=latin1 CONNECTION='DSN=ConnectEnginePostgresql;UID=mtr;PWD=mtr' `TABLE_TYPE`='ODBC' `TABNAME`='public.t1'
192
+ ) ENGINE=CONNECT DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci CONNECTION='DSN=ConnectEnginePostgresql;UID=mtr;PWD=mtr' `TABLE_TYPE`='ODBC' `TABNAME`='public.t1'
193
193
SELECT * FROM t1;
194
194
a
195
195
10
@@ -202,7 +202,7 @@ SHOW CREATE TABLE t1;
202
202
Table Create Table
203
203
t1 CREATE TABLE `t1` (
204
204
`a` char(10) NOT NULL
205
- ) ENGINE=CONNECT DEFAULT CHARSET=utf8mb3 CONNECTION='DSN=ConnectEnginePostgresql;UID=mtr;PWD=mtr' `TABLE_TYPE`='ODBC' `TABNAME`='schema1.t1' `DATA_CHARSET`='utf8'
205
+ ) ENGINE=CONNECT DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci CONNECTION='DSN=ConnectEnginePostgresql;UID=mtr;PWD=mtr' `TABLE_TYPE`='ODBC' `TABNAME`='schema1.t1' `DATA_CHARSET`='utf8'
206
206
SELECT * FROM t1;
207
207
a
208
208
aaa
@@ -213,8 +213,8 @@ CREATE TABLE t2 AS SELECT * FROM t1;
213
213
SHOW CREATE TABLE t2;
214
214
Table Create Table
215
215
t2 CREATE TABLE `t2` (
216
- `a` char(10) CHARACTER SET utf8mb3 NOT NULL
217
- ) ENGINE=MyISAM DEFAULT CHARSET=latin1
216
+ `a` char(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
217
+ ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
218
218
SELECT * FROM t2;
219
219
a
220
220
aaa
@@ -237,7 +237,7 @@ SHOW CREATE TABLE t1;
237
237
Table Create Table
238
238
t1 CREATE TABLE `t1` (
239
239
`a` char(10) DEFAULT NULL
240
- ) ENGINE=CONNECT DEFAULT CHARSET=utf8mb3 CONNECTION='DSN=ConnectEnginePostgresql;UID=mtr;PWD=mtr' `TABLE_TYPE`='ODBC' `TABNAME`='schema1.v1' `DATA_CHARSET`='utf8'
240
+ ) ENGINE=CONNECT DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci CONNECTION='DSN=ConnectEnginePostgresql;UID=mtr;PWD=mtr' `TABLE_TYPE`='ODBC' `TABNAME`='schema1.v1' `DATA_CHARSET`='utf8'
241
241
SELECT * FROM t1;
242
242
a
243
243
aaa
@@ -248,8 +248,8 @@ CREATE TABLE t2 AS SELECT * FROM t1;
248
248
SHOW CREATE TABLE t2;
249
249
Table Create Table
250
250
t2 CREATE TABLE `t2` (
251
- `a` char(10) CHARACTER SET utf8mb3 DEFAULT NULL
252
- ) ENGINE=MyISAM DEFAULT CHARSET=latin1
251
+ `a` char(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL
252
+ ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
253
253
SELECT * FROM t2;
254
254
a
255
255
aaa
@@ -272,7 +272,7 @@ SHOW CREATE TABLE t1;
272
272
Table Create Table
273
273
t1 CREATE TABLE `t1` (
274
274
`a` char(10) NOT NULL
275
- ) ENGINE=CONNECT DEFAULT CHARSET=utf8mb3 CONNECTION='DSN=ConnectEnginePostgresql;UID=mtr;PWD=mtr' `TABLE_TYPE`='ODBC' `TABNAME`='schema1.t2' `DATA_CHARSET`='utf8'
275
+ ) ENGINE=CONNECT DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci CONNECTION='DSN=ConnectEnginePostgresql;UID=mtr;PWD=mtr' `TABLE_TYPE`='ODBC' `TABNAME`='schema1.t2' `DATA_CHARSET`='utf8'
276
276
SELECT * FROM t1;
277
277
a
278
278
xxx
@@ -283,8 +283,8 @@ CREATE TABLE t2 AS SELECT * FROM t1;
283
283
SHOW CREATE TABLE t2;
284
284
Table Create Table
285
285
t2 CREATE TABLE `t2` (
286
- `a` char(10) CHARACTER SET utf8mb3 NOT NULL
287
- ) ENGINE=MyISAM DEFAULT CHARSET=latin1
286
+ `a` char(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
287
+ ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
288
288
SELECT * FROM t2;
289
289
a
290
290
xxx
0 commit comments