Skip to content

Commit dbe2528

Browse files
committed
Removed weight_string
1 parent ae36e9f commit dbe2528

File tree

2 files changed

+0
-73
lines changed

2 files changed

+0
-73
lines changed

enginetest/queries/function_queries.go

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -440,78 +440,6 @@ var FunctionQueryTests = []QueryTest{
440440
{string("first,second")},
441441
},
442442
},
443-
{
444-
Query: `SELECT HEX(WEIGHT_STRING("ABC"))`,
445-
Expected: []sql.Row{
446-
{string("006100620063")},
447-
},
448-
},
449-
{
450-
Query: `SELECT HEX(WEIGHT_STRING("abc"))`,
451-
Expected: []sql.Row{
452-
{string("006100620063")},
453-
},
454-
},
455-
{
456-
Query: `SELECT HEX(WEIGHT_STRING("A"))`,
457-
Expected: []sql.Row{
458-
{string("0061")},
459-
},
460-
},
461-
{
462-
Query: `SELECT HEX(WEIGHT_STRING(""))`,
463-
Expected: []sql.Row{
464-
{string("")},
465-
},
466-
},
467-
{
468-
Query: `SELECT HEX(WEIGHT_STRING("AB", "CHAR", 5))`,
469-
Expected: []sql.Row{
470-
{string("00610062002000200020")},
471-
},
472-
},
473-
{
474-
Query: `SELECT HEX(WEIGHT_STRING("ABCDE", "CHAR", 3))`,
475-
Expected: []sql.Row{
476-
{string("006100620063")},
477-
},
478-
},
479-
{
480-
Query: `SELECT HEX(WEIGHT_STRING("AB", "BINARY", 5))`,
481-
Expected: []sql.Row{
482-
{string("4142000000")},
483-
},
484-
},
485-
{
486-
Query: `SELECT HEX(WEIGHT_STRING("ABCDE", "BINARY", 3))`,
487-
Expected: []sql.Row{
488-
{string("414243")},
489-
},
490-
},
491-
{
492-
Query: `SELECT HEX(WEIGHT_STRING("A B"))`,
493-
Expected: []sql.Row{
494-
{string("006100200062")},
495-
},
496-
},
497-
{
498-
Query: `SELECT HEX(WEIGHT_STRING("123"))`,
499-
Expected: []sql.Row{
500-
{string("003100320033")},
501-
},
502-
},
503-
{
504-
Query: `SELECT WEIGHT_STRING(NULL)`,
505-
Expected: []sql.Row{
506-
{nil},
507-
},
508-
},
509-
{
510-
Query: `SELECT HEX(WEIGHT_STRING("first row"))`,
511-
Expected: []sql.Row{
512-
{string("0066006900720073007400200072006F0077")},
513-
},
514-
},
515443
{
516444
Query: "SELECT version()",
517445
Expected: []sql.Row{

sql/information_schema/constants.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,6 @@ var keywordsArray = [747]Keyword{
805805
{"WAIT", 0},
806806
{"WARNINGS", 0},
807807
{"WEEK", 0},
808-
{"WEIGHT_STRING", 0},
809808
{"WHEN", 1},
810809
{"WHERE", 1},
811810
{"WHILE", 1},

0 commit comments

Comments
 (0)