go-mysql-server
go-mysql-server copied to clipboard
A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.
When using the "driver" package, I kept running into the following errors: ``` DEBU[0115] [6.873ms] [rows:-] SELECT count(*) FROM information_schema.tables WHERE table_schema = 'test-db' AND table_name = 'entries' AND table_type...
Fixed a case of table has `col1` and it's used in the query for referencing this column, and using it for alias name for this column and using it for...
We use the in-memory implementation provided during our tests and recently we've seen intermittent data race failures. Since they only happen on occasion they are annoying to debug because the...
The following example should error: ``` CREATE TABLE a (x BIGINT PRIMARY KEY); INSERT INTO a VALUES (1), (2); UPDATE a SET X = X + 1 ORDER BY x...
Hi all, I'm seeing a strange error about converting time in a query that shouldn't be using any time column at all. The error I see is: ``` unable to...
any benchmark for this gomysql server in memory compared with mysql?
re zach: "When we push down an IN clause to the table as an index, we should in principle remove that predicate from the filter. Not having the filter at...
First of all, great appreciation for a very good project! I'm writing a custom storage engine and missing quite a bit of useful documentation. Some interfaces are not documented in...
Spinning up an instance; ``` import ( "github.com/dolthub/go-mysql-server/auth" "github.com/dolthub/go-mysql-server/memory" "github.com/dolthub/go-mysql-server/server" "github.com/dolthub/go-mysql-server/sql" "github.com/dolthub/go-mysql-server/sql/information_schema" ) func main() { engine := sqle.NewDefault( sql.NewDatabaseProvider( memory.NewDatabase(TEST_DB_MYSQL_DATABASE), information_schema.NewInformationSchemaDatabase(), ), ) s, err := server.NewDefaultServer(server.Config{ Protocol: "tcp",...
I tried to connect `dolt` to an external spreadsheet software (libreoffice), but the setup/introspection logic failed on: ``` function: 'strcmp' not found ``` See https://dev.mysql.com/doc/refman/8.0/en/string-comparison-functions.html#function_strcmp for reference. PS: thanks for...