@@ -386,7 +386,7 @@ func _string(db *DBTest) {
386
386
var rows * sql.Rows
387
387
388
388
for _ , v := range types {
389
- db .mustExec ("CREATE TABLE test (value " + v + ") CHARACTER SET utf8 COLLATE utf8_unicode_ci " )
389
+ db .mustExec ("CREATE TABLE test (value " + v + ") CHARACTER SET utf8" )
390
390
391
391
db .mustExec ("INSERT INTO test VALUES (?)" , in )
392
392
@@ -404,7 +404,7 @@ func _string(db *DBTest) {
404
404
}
405
405
406
406
// BLOB
407
- db .mustExec ("CREATE TABLE test (id int, value BLOB) CHARACTER SET utf8 COLLATE utf8_unicode_ci " )
407
+ db .mustExec ("CREATE TABLE test (id int, value BLOB) CHARACTER SET utf8" )
408
408
409
409
id := 2
410
410
in = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, " +
@@ -503,7 +503,7 @@ func TestDateTime(t *testing.T) {
503
503
var rows * sql.Rows
504
504
for sqltype , tests := range timetests {
505
505
db .mustExec ("DROP TABLE IF EXISTS test" )
506
- db .mustExec ("CREATE TABLE test (value " + sqltype + ") CHARACTER SET utf8 COLLATE utf8_unicode_ci " )
506
+ db .mustExec ("CREATE TABLE test (value " + sqltype + ")" )
507
507
for _ , test := range tests {
508
508
for mode , q := range modes {
509
509
db .mustExec ("TRUNCATE test" )
@@ -670,7 +670,7 @@ func _longData(db *DBTest) {
670
670
maxAllowedPacketSize = 1 << 25
671
671
}
672
672
673
- db .mustExec ("CREATE TABLE test (value LONGBLOB) CHARACTER SET utf8 COLLATE utf8_unicode_ci " )
673
+ db .mustExec ("CREATE TABLE test (value LONGBLOB)" )
674
674
675
675
in := strings .Repeat (`0` , maxAllowedPacketSize + 1 )
676
676
var out string
@@ -765,7 +765,7 @@ func _loadData(db *DBTest) {
765
765
file .Close ()
766
766
767
767
db .mustExec ("DROP TABLE IF EXISTS test" )
768
- db .mustExec ("CREATE TABLE test (id INT NOT NULL PRIMARY KEY, value TEXT NOT NULL) CHARACTER SET utf8 COLLATE utf8_unicode_ci " )
768
+ db .mustExec ("CREATE TABLE test (id INT NOT NULL PRIMARY KEY, value TEXT NOT NULL) CHARACTER SET utf8" )
769
769
770
770
// Local File
771
771
RegisterLocalFile (file .Name ())
0 commit comments