Skip to content

Commit a88c7c4

Browse files
authored
Merge branch 'master' into quasilyte/typeUnparen
2 parents f75d265 + 7c35fd3 commit a88c7c4

File tree

1,151 files changed

+249801
-15122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,151 files changed

+249801
-15122
lines changed

Gopkg.lock

Lines changed: 21 additions & 7 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 = "95285948912f7edaf92e2e66e44fa6c6ad509942"
3+
revision = "1fa8e98aab8f06ae1569c4d381ccc9d3051f761a"
44

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

cmd/gitbase/command/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"gopkg.in/src-d/go-mysql-server.v0/sql"
2222
"gopkg.in/src-d/go-mysql-server.v0/sql/analyzer"
2323
"gopkg.in/src-d/go-mysql-server.v0/sql/index/pilosa"
24-
"gopkg.in/src-d/go-vitess.v0/mysql"
24+
"gopkg.in/src-d/go-vitess.v1/mysql"
2525
)
2626

2727
const (

docs/using-gitbase/configuration.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
| `GITBASE_INDEX_DIR` | directory to save indexes, default `/var/lib/gitbase/index` |
1212
| `GITBASE_TRACE` | enable jaeger tracing, default disabled |
1313
| `GITBASE_READONLY` | allow read queries only, disabling creating and deleting indexes, default disabled |
14-
| `GITBASE_LANGUAGE_CACHE_SIZE` | size of the cache for the `language` UDF. The size is the maximum number of elements kept in the cache, 10000 by default |
15-
| `GITBASE_UAST_CACHE_SIZE` | size of the cache for the `uast` and `uast_mode` UDFs. The size is the maximum number of elements kept in the cache, 10000 by default |
14+
| `GITBASE_LANGUAGE_CACHE_SIZE`| size of the cache for the `language` UDF. The size is the maximum number of elements kept in the cache, 10000 by default |
15+
| `GITBASE_UAST_CACHE_SIZE` | size of the cache for the `uast` and `uast_mode` UDFs. The size is the maximum number of elements kept in the cache, 10000 by default |
16+
| `GITBASE_CACHESIZE_MB` | size of the cache for git objects specified as MB |
1617

1718
### Jaeger tracing variables
1819

@@ -73,6 +74,8 @@ Help Options:
7374
-u, --user= User name used for connection (default: root)
7475
-P, --password= Password used for connection
7576
-i, --index= Directory where the gitbase indexes information will be persisted. (default: /var/lib/gitbase/index) [$GITBASE_INDEX_DIR]
77+
--cache= Object cache size in megabytes (default: 512) [$GITBASE_CACHESIZE_MB]
78+
--parallelism= Maximum number of parallel threads per table. By default, it's the number of CPU cores. 0 means default, 1 means disabled.
7679
--no-squash Disables the table squashing.
7780
--trace Enables jaeger tracing [$GITBASE_TRACE]
7881
-r, --readonly Only allow read queries. This disables creating and deleting indexes as well. [$GITBASE_READONLY]

docs/using-gitbase/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ To make some common tasks easier for the user, there are some functions to inter
1717

1818
## Standard functions
1919

20-
You can check standard functions in [`go-mysql-server` documentation](https://github.com/src-d/go-mysql-server/tree/95285948912f7edaf92e2e66e44fa6c6ad509942#custom-functions).
20+
You can check standard functions in [`go-mysql-server` documentation](https://github.com/src-d/go-mysql-server/tree/1fa8e98aab8f06ae1569c4d381ccc9d3051f761a#custom-functions).

docs/using-gitbase/indexes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Note that you can create an index either **on one or more columns** or **on a si
1010

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

13-
See [go-mysql-server](https://github.com/src-d/go-mysql-server/tree/95285948912f7edaf92e2e66e44fa6c6ad509942#indexes) documentation for more details
13+
See [go-mysql-server](https://github.com/src-d/go-mysql-server/tree/1fa8e98aab8f06ae1569c4d381ccc9d3051f761a#indexes) documentation for more details
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
## Supported syntax
22

3-
To see the SQL subset currently supported take a look at [this list](https://github.com/src-d/go-mysql-server/blob/95285948912f7edaf92e2e66e44fa6c6ad509942/SUPPORTED.md) from [src-d/go-mysql-server](https://github.com/src-d/go-mysql-server).
3+
To see the SQL subset currently supported take a look at [this list](https://github.com/src-d/go-mysql-server/blob/1fa8e98aab8f06ae1569c4d381ccc9d3051f761a/SUPPORTED.md) from [src-d/go-mysql-server](https://github.com/src-d/go-mysql-server).

session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
errors "gopkg.in/src-d/go-errors.v1"
1414
"gopkg.in/src-d/go-mysql-server.v0/server"
1515
"gopkg.in/src-d/go-mysql-server.v0/sql"
16-
"gopkg.in/src-d/go-vitess.v0/mysql"
16+
"gopkg.in/src-d/go-vitess.v1/mysql"
1717
)
1818

1919
// Session is the custom implementation of a gitbase session.

vendor/github.com/golang/glog/LICENSE

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

vendor/github.com/golang/glog/README

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

0 commit comments

Comments
 (0)