go-mysql-server
go-mysql-server copied to clipboard
A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.
Fixes #2837 This patchset is based on https://github.com/termux/termux-packages/pull/24770
- Add a 1-second wait time before each test to ensure the database has started - Update error assertions to match more specific error messages - Adjust the test order:...
The plans generated from `TestSingleScript` with and without `harness.UseServer()` can differ. This is a result of `ComPrepare`, which extracts literals and replaces them with BindVars, to be later substituted back...
When building with for arm, get some overflow errors on some constants. Output: ``` Stderr: # github.com/dolthub/go-mysql-server/sql/types /go/pkg/mod/github.com/dolthub/[email protected]/sql/types/geometry.go:548:24: math.MaxUint32 (untyped int constant 4294967295) overflows int /go/pkg/mod/github.com/dolthub/[email protected]/sql/types/number.go:1123:18: math.MaxUint64 (untyped int constant...
Repro: - `git clone https://github.com/dolthub/go-mysql-server.git` - `git reset --hard e8ce0df0d8f29da37cce639db335293c3d43af6a` # latest as of 2025-3-9, 17:09 UTC - `cd go-mysql-server/_example` - `go build` Got: ``` go: downloading github.com/go-kit/kit v0.10.0 #...
Repro: ``` create table test(c0 int not null, c1 int not null, pk int primary key, key (c0, c1)); insert into test values (2, 3, 1), (5, 6, 4), (2,...
I use `go-mysql-server` for sql testing and unittest. there is some sql feature supported by mysql, but not supported by go-mysql-server. usually, mysql dialect can be wrapper by `/*! */`...
skipped enginetest here: https://github.com/dolthub/go-mysql-server/pull/2745/files