Skip to content

Commit 2345343

Browse files
author
kuba--
committed
Upgrade mysql
Signed-off-by: kuba-- <[email protected]>
1 parent 7a1da95 commit 2345343

File tree

17 files changed

+491
-202
lines changed

17 files changed

+491
-202
lines changed

Gopkg.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[constraint]]
22
name = "gopkg.in/src-d/go-mysql-server.v0"
3-
revision = "ca79a6d3c6cc74afdfd82a7f372df9bf9e1985ff"
3+
revision = "749adb47d4bf0620e578641e59e8c63192362849"
44

55
[[constraint]]
66
name = "github.com/jessevdk/go-flags"

docs/using-gitbase/functions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ These are all functions that are available because they are implemented in `go-m
4040
|`DAYOFYEAR(date)`|Returns the day of the year of the given date.|
4141
|`FLOOR(number)`|Return the largest integer value that is less than or equal to `number`.|
4242
|`FROM_BASE64(str)`|Decodes the base64-encoded string str.|
43+
|`GREATEST(...)`|Returns the greatest numeric or string value.|
4344
|`HOUR(date)`|Returns the hours of the given date.|
4445
|`IFNULL(expr1, expr2)`|If expr1 is not NULL, IFNULL() returns expr1; otherwise it returns expr2.|
4546
|`IS_BINARY(blob)`|Returns whether a BLOB is a binary file or not.|
4647
|`JSON_EXTRACT(json_doc, path, ...)`|Extracts data from a json document using json paths.|
48+
|`LEAST(...)`|Returns the smaller numeric or string value.|
4749
|`LN(X)`|Return the natural logarithm of X.|
4850
|`LOG(X), LOG(B, X)`|If called with one parameter, this function returns the natural logarithm of X. If called with two parameters, this function returns the logarithm of X to the base B. If X is less than or equal to 0, or if B is less than or equal to 1, then NULL is returned.|
4951
|`LOG10(X)`|Returns the base-10 logarithm of X.|

docs/using-gitbase/indexes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ and for the second query also two indexes will be used and the result will be a
2626

2727
You can find some more examples in the [examples](./examples.md#create-an-index-for-columns-on-a-table) section.
2828

29-
See [go-mysql-server](https://github.com/src-d/go-mysql-server/tree/ca79a6d3c6cc74afdfd82a7f372df9bf9e1985ff#indexes) documentation for more details
29+
See [go-mysql-server](https://github.com/src-d/go-mysql-server/tree/749adb47d4bf0620e578641e59e8c63192362849#indexes) documentation for more details

docs/using-gitbase/supported-syntax.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -85,48 +85,50 @@
8585

8686
## Functions
8787
- ARRAY_LENGTH
88+
- CEIL
89+
- CEILING
90+
- COALESCE
8891
- CONCAT
8992
- CONCAT_WS
93+
- CONNECTION_ID
94+
- DATABASE
95+
- FLOOR
96+
- FROM_BASE64
97+
- GREATEST
9098
- IS_BINARY
91-
- SPLIT
92-
- SUBSTRING
9399
- IS_BINARY
94-
- LOWER
95-
- UPPER
96-
- CEILING
97-
- CEIL
98-
- FLOOR
99-
- ROUND
100-
- COALESCE
101-
- CONNECTION_ID
102-
- SOUNDEX
103100
- JSON_EXTRACT
104-
- DATABASE
105-
- SQRT
101+
- LEAST
102+
- LN
103+
- LOG10
104+
- LOG2
105+
- LOWER
106+
- LPAD
106107
- POW
107108
- POWER
109+
- ROUND
108110
- RPAD
109-
- LPAD
110-
- LN
111-
- LOG2
112-
- LOG10
113111
- SLEEP
112+
- SOUNDEX
113+
- SPLIT
114+
- SQRT
115+
- SUBSTRING
114116
- TO_BASE64
115-
- FROM_BASE64
117+
- UPPER
116118

117119
## Time functions
118120
- DATE
121+
- DATE_ADD
122+
- DATE_SUB
119123
- DAY
120-
- WEEKDAY
121124
- DAYOFMONTH
122125
- DAYOFWEEK
123126
- DAYOFYEAR
124127
- HOUR
125128
- MINUTE
126129
- MONTH
130+
- NOW
127131
- SECOND
132+
- WEEKDAY
128133
- YEAR
129134
- YEARWEEK
130-
- NOW
131-
- DATE_ADD
132-
- DATE_SUB

vendor/gopkg.in/src-d/go-mysql-server.v0/README.md

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/gopkg.in/src-d/go-mysql-server.v0/SUPPORTED.md

Lines changed: 24 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/gopkg.in/src-d/go-mysql-server.v0/server/context.go

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/gopkg.in/src-d/go-mysql-server.v0/server/handler.go

Lines changed: 8 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/gopkg.in/src-d/go-mysql-server.v0/sql/analyzer/convert_dates.go

Lines changed: 2 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)