@@ -116,7 +116,7 @@ func TestSQLDefaultEngineSetting(t *testing.T) {
116
116
require .Equal (t , []interface {}{[]interface {}{"sql_default_engine" , "vinyl" }}, resp .Data )
117
117
118
118
// Create a space with "CREATE TABLE".
119
- resp , err = conn .Execute ("CREATE TABLE t1_vinyl (a INT PRIMARY KEY, b INT, c INT);" , []interface {}{})
119
+ resp , err = conn .Execute ("CREATE TABLE T1_VINYL (a INT PRIMARY KEY, b INT, c INT);" , []interface {}{})
120
120
require .Nil (t , err )
121
121
require .NotNil (t , resp )
122
122
require .Equal (t , uint64 (1 ), resp .SQLInfo .AffectedCount )
@@ -140,7 +140,7 @@ func TestSQLDefaultEngineSetting(t *testing.T) {
140
140
require .Equal (t , []interface {}{[]interface {}{"sql_default_engine" , "memtx" }}, resp .Data )
141
141
142
142
// Create a space with "CREATE TABLE".
143
- resp , err = conn .Execute ("CREATE TABLE t2_memtx (a INT PRIMARY KEY, b INT, c INT);" , []interface {}{})
143
+ resp , err = conn .Execute ("CREATE TABLE T2_MEMTX (a INT PRIMARY KEY, b INT, c INT);" , []interface {}{})
144
144
require .Nil (t , err )
145
145
require .NotNil (t , resp )
146
146
require .Equal (t , uint64 (1 ), resp .SQLInfo .AffectedCount )
@@ -233,13 +233,13 @@ func TestSQLFullColumnNamesSetting(t *testing.T) {
233
233
defer conn .Close ()
234
234
235
235
// Create a space.
236
- resp , err = conn .Execute ("CREATE TABLE fkname(id INT PRIMARY KEY, x INT);" , []interface {}{})
236
+ resp , err = conn .Execute ("CREATE TABLE FKNAME(ID INT PRIMARY KEY, X INT);" , []interface {}{})
237
237
require .Nil (t , err )
238
238
require .NotNil (t , resp )
239
239
require .Equal (t , uint64 (1 ), resp .SQLInfo .AffectedCount )
240
240
241
241
// Fill it with some data.
242
- resp , err = conn .Execute ("INSERT INTO fkname VALUES (1, 1);" , []interface {}{})
242
+ resp , err = conn .Execute ("INSERT INTO FKNAME VALUES (1, 1);" , []interface {}{})
243
243
require .Nil (t , err )
244
244
require .NotNil (t , resp )
245
245
require .Equal (t , uint64 (1 ), resp .SQLInfo .AffectedCount )
@@ -257,7 +257,7 @@ func TestSQLFullColumnNamesSetting(t *testing.T) {
257
257
require .Equal (t , []interface {}{[]interface {}{"sql_full_column_names" , false }}, resp .Data )
258
258
259
259
// Get a data with short column names in metadata.
260
- resp , err = conn .Execute ("SELECT x FROM fkname WHERE id = 1;" , []interface {}{})
260
+ resp , err = conn .Execute ("SELECT X FROM FKNAME WHERE ID = 1;" , []interface {}{})
261
261
require .Nil (t , err )
262
262
require .NotNil (t , resp )
263
263
require .Equal (t , "X" , resp .MetaData [0 ].FieldName )
@@ -275,7 +275,7 @@ func TestSQLFullColumnNamesSetting(t *testing.T) {
275
275
require .Equal (t , []interface {}{[]interface {}{"sql_full_column_names" , true }}, resp .Data )
276
276
277
277
// Get a data with full column names in metadata.
278
- resp , err = conn .Execute ("SELECT x FROM fkname WHERE id = 1;" , []interface {}{})
278
+ resp , err = conn .Execute ("SELECT X FROM FKNAME WHERE ID = 1;" , []interface {}{})
279
279
require .Nil (t , err )
280
280
require .NotNil (t , resp )
281
281
require .Equal (t , "FKNAME.X" , resp .MetaData [0 ].FieldName )
0 commit comments