Skip to content

Commit 872955f

Browse files
committed
vendor: upgrade go-mysql-server
Signed-off-by: Miguel Molina <[email protected]>
1 parent db54874 commit 872955f

File tree

13 files changed

+893
-395
lines changed

13 files changed

+893
-395
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 = "749adb47d4bf0620e578641e59e8c63192362849"
3+
revision = "48de1587b61d8a287e6508981156a9293dd99e5c"
44

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

docs/using-gitbase/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
|:-----|:-----|:------------|
2727
|`INMEMORY_JOINS`|environment|If set it will perform all joins in memory. Default is off.|
2828
|`inmemory_joins`|session|If set it will perform all joins in memory. Default is off. This has precedence over `INMEMORY_JOINS`.|
29-
|`MAX_MEMORY_INNER_JOIN`|environment|The maximum number of memory, in megabytes, that can be consumed by go-mysql-server before switching to multipass mode in inner joins. Default is the 20% of all available physical memory.|
30-
|`max_memory_joins`|session|The maximum number of memory, in megabytes, that can be consumed by go-mysql-server before switching to multipass mode in inner joins. Default is the 20% of all available physical memory. This has precedence over `MAX_MEMORY_INNER_JOIN`.|
29+
|`MAX_MEMORY_JOIN`|environment|The maximum number of memory, in megabytes, that can be consumed by go-mysql-server before switching to multipass mode in joins. Default is the 20% of all available physical memory.|
30+
|`max_memory_joins`|session|The maximum number of memory, in megabytes, that can be consumed by go-mysql-server before switching to multipass mode in joins. Default is the 20% of all available physical memory. This has precedence over `MAX_MEMORY_JOIN`.|
3131
|`DEBUG_ANALYZER`|environment|If set, the analyzer will print debug messages. Default is off.|
3232
|`PILOSA_INDEX_THREADS`|environment|Number of threads used in index creation. Default is the number of cores available in the machine.|
3333
|`pilosa_index_threads`|environment|Number of threads used in index creation. Default is the number of cores available in the machine. This has precedence over `PILOSA_INDEX_THREADS`.|

docs/using-gitbase/functions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ These are all functions that are available because they are implemented in `go-m
2626
|`AVG(expr)`|Returns the average value of expr in all rows.|
2727
|`CEIL(number)`|Return the smallest integer value that is greater than or equal to `number`.|
2828
|`CEILING(number)`|Return the smallest integer value that is greater than or equal to `number`.|
29+
|`CHAR_LENGTH(str)`|Return the length of the string in characters.|
2930
|`COALESCE(...)`|The function returns the first non-null value in a list.|
3031
|`CONCAT(...)`|Concatenate any group of fields into a single string.|
3132
|`CONCAT_WS(sep, ...)`|Concatenate any group of fields into a single string. The first argument is the separator for the rest of the arguments. The separator is added between the strings to be concatenated. The separator can be a string, as can the rest of the arguments. If the separator is NULL, the result is NULL.|
@@ -46,6 +47,7 @@ These are all functions that are available because they are implemented in `go-m
4647
|`IS_BINARY(blob)`|Returns whether a BLOB is a binary file or not.|
4748
|`JSON_EXTRACT(json_doc, path, ...)`|Extracts data from a json document using json paths.|
4849
|`LEAST(...)`|Returns the smaller numeric or string value.|
50+
|`LENGTH(str)`|Return the length of the string in bytes.|
4951
|`LN(X)`|Return the natural logarithm of X.|
5052
|`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.|
5153
|`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/749adb47d4bf0620e578641e59e8c63192362849#indexes) documentation for more details
29+
See [go-mysql-server](https://github.com/src-d/go-mysql-server/tree/48de1587b61d8a287e6508981156a9293dd99e5c#indexes) documentation for more details

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

Lines changed: 4 additions & 2 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/pushdown.go

Lines changed: 18 additions & 3 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/expression/function/length.go

Lines changed: 94 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/sql/expression/function/registry.go

Lines changed: 4 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/sql/expression/function/substring.go

Lines changed: 124 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/sql/parse/parse.go

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

0 commit comments

Comments
 (0)