Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit c7e7418

Browse files
author
Juanjo Alvarez
committed
Fix ordering in README
Signed-off-by: Juanjo Alvarez <[email protected]>
1 parent ef350d5 commit c7e7418

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ We support and actively test against certain third-party clients to ensure compa
7373
|`DAYOFWEEK(date)`|Returns the day of the week of the given date.|
7474
|`DAYOFYEAR(date)`|Returns the day of the year of the given date.|
7575
|`FLOOR(number)`|Return the largest integer value that is less than or equal to `number`.|
76+
|`FROM_BASE64(str)`|Decodes the base64-encoded string str.|
7677
|`HOUR(date)`|Returns the hours of the given date.|
7778
|`IFNULL(expr1, expr2)`|If expr1 is not NULL, IFNULL() returns expr1; otherwise it returns expr2.|
7879
|`IS_BINARY(blob)`|Returns whether a BLOB is a binary file or not.|
@@ -107,7 +108,6 @@ We support and actively test against certain third-party clients to ensure compa
107108
|`SUBSTRING(str, pos, [len])`|Return a substring from the provided string starting at `pos` with a length of `len` characters. If no `len` is provided, all characters from `pos` until the end will be taken.|
108109
|`SUM(expr)`|Returns the sum of expr in all rows.|
109110
|`TO_BASE64(str)`|Encodes the string str in base64 format.|
110-
|`FROM_BASE64(str)`|Decodes the base64-encoded string str.|
111111
|`TRIM(str)`|Returns the string str with all spaces removed.|
112112
|`UPPER(str)`|Returns the string str with all characters in upper case.|
113113
|`WEEKDAY(date)`|Returns the weekday of the given date.|

engine_test.go

-8
Original file line numberDiff line numberDiff line change
@@ -909,14 +909,6 @@ var queries = []struct {
909909
"SELECT FROM_BASE64('YmFy')",
910910
[]sql.Row{{string("bar")}},
911911
},
912-
{
913-
"SELECT DISTINCT 1, 2",
914-
[]sql.Row{{int64(1), int64(2)}},
915-
},
916-
{
917-
"SELECT DISTINCT(1,2)",
918-
[]sql.Row{},
919-
},
920912
}
921913

922914
func TestQueries(t *testing.T) {

0 commit comments

Comments
 (0)