Commit Graph

2855 Commits

Author SHA1 Message Date
Jason Fulghum 20b4cdf3b0 Bug fix for unresolved FK fields not being included in the FK's hash 2024-01-24 14:46:54 -08:00
Aaron Son 777ae43170 Merge pull request #7389 from dolthub/aaron/remotesrv-bats-no-running-in-parent-dir-fix
[no-release-notes] integration-tests/bats: Ensure we do not run `dolt` from a parent directory of the remotesrv dir.
2024-01-22 13:35:23 -08:00
Aaron Son 48be2c48fe [no-release-notes] integration-tests/bats: Ensure we do not run dolt from a parent directory of the remotesrv dir.
Doing so can cause `dolt` to open the remotesrv database as a DoltDB, which may
race with remotesrv opening it and may cause it to appear to read-only in the
remotesrv process.
2024-01-22 12:14:50 -08:00
Neil Macneale IV 006fbdfce6 Add a bats test to ensure we don't clone remote branches repeatedly 2024-01-22 10:00:50 -08:00
Zach Musgrave 0d27120afd Added test for deleting tags 2024-01-19 17:29:42 -08:00
Zach Musgrave fbbdc3cc6d Push tags on replication 2024-01-19 15:55:25 -08:00
Neil Macneale IV fb440bacf3 Fix result expectations in mysql-client-tests 2024-01-18 13:36:17 -08:00
Neil Macneale IV 3d5a43ced3 Remove the incorrect validation in constraints test 2024-01-18 12:20:30 -08:00
Neil Macneale IV 79679c19a8 Fix test which depended on broken merge behavior 2024-01-18 12:20:30 -08:00
Jason Fulghum aacaff1f76 Fixing test references for non-explicitly specified SESSION sys vars 2024-01-17 15:56:53 -08:00
Jason Fulghum c7076d9f75 Fixing test from change to match how MySQL returns system variable names 2024-01-17 15:48:09 -08:00
Jason Fulghum 9ce2393c3b Merge pull request #7285 from dolthub/fulghum/dolt-7275
Bug fix: keyless table constraint violations
2024-01-12 17:27:21 -08:00
Neil Macneale IV daca860b51 Verify that remotesrv with working set isn't updated 2024-01-10 16:56:57 -08:00
Aaron Son b832e3bf9d dolt push: Only assert on a clean working set when doing a push if we are running against a server which requests it. 2024-01-10 15:51:30 -08:00
Jason Fulghum 9a44b41fc7 Bug fix for clearing constraint violations for keyless tables.
Related to: https://github.com/dolthub/dolt/issues/7275
2024-01-09 16:35:32 -08:00
Stephanie You 38d60af3a2 dolt table import --all-text correctly infers pk if none given 2024-01-09 15:23:55 -08:00
Stephanie You e910e2017a tests for dolt table import --all-text 2024-01-09 10:16:12 -08:00
Nick Tobey 2c58d53cc9 Merge pull request #7230 from dolthub/nicktobey/json
Allow for three way merges to automatically resolve concurrent changes to a JSON object when the changes affect different keys.
2024-01-08 09:33:51 -08:00
Nick Tobey 56a32f67c5 Add tests for dont_merge_json, both as a command line flag and as a system variable. 2024-01-05 16:37:14 -08:00
Neil Macneale IV f3d20a29fb Merge pull request #7242 from dolthub/macneale4/sql-shell-prompt
Three changes to the dolt sql shell:

- Show the branch you are on: mydb/main>
- Show the workspace is dirty with a "*" in the prompt
- Add color to the DB name, branch, and dirty status.
2024-01-05 14:16:58 -08:00
Dustin Brown 61c2346108 Merge pull request #7259 from dolthub/db/sql-bom
support importing files with UTF-8, UTF-16LE, UTF16-BE BOM headers on sql path
2024-01-05 10:03:17 -08:00
Neil Macneale IV 6fe8c7ada8 Skip prompt test when remote 2024-01-05 09:12:42 -08:00
Neil Macneale IV 383a08f291 Set the time out for prompt tests 2024-01-04 17:23:11 -08:00
coffeegoddd be18deb7a3 /{go,integration-tests}: format and fix bats 2024-01-04 16:51:18 -08:00
coffeegoddd 02059c3105 /integration-tests/bats: add tests for bom headers on sql path 2024-01-04 16:46:56 -08:00
Neil Macneale IV 790f011e92 Add tests for the updating prompt 2024-01-04 16:42:01 -08:00
Neil Macneale IV 7aaa6eab75 Fix expect tests again, ansi colors are hard 2024-01-04 14:24:17 -08:00
Neil Macneale IV 8975dabea1 Fix expect tests which look for the prompt 2024-01-04 14:24:17 -08:00
Jason Fulghum 591a41bad4 Updating Java MySQL Connector/J integration test to use a table-qualified column name when retrieving a field from a row in a result set.
Related to https://github.com/dolthub/dolt/issues/7247
2024-01-04 14:02:17 -08:00
Dustin Brown 0757e76287 [auto-bump] [no-release-notes] dependency by jycor (#7236) 2024-01-03 13:12:29 -08:00
Neil Macneale IV 0b7283c87e Delete branch message as a push result (#7233) 2024-01-02 15:27:25 -08:00
Stephanie You 65b3d25434 nonsense config warning prints to stderr 2023-12-28 11:47:00 -08:00
stephanie a5f6a31460 Merge pull request #7214 from dolthub/steph/schema-import-types
Additional `dolt schema import` types
2023-12-27 15:38:21 -08:00
Stephanie You fc822316fa PR comments 2023-12-27 13:38:21 -08:00
Stephanie You a7ed734d2d schema import supports json type 2023-12-27 11:28:15 -08:00
coffeegoddd 50d102ef7b fix ci 2023-12-26 17:05:24 -08:00
coffeegoddd bf760cb03f /integration-tests/go-sql-server-driver/go.{mod,sum}: run go mod tidy 2023-12-26 16:47:24 -08:00
Neil Macneale IV cdab41d56d [no-release-notes] upgrade crypto (#7206)
* Bump golang.org/x/crypto in /integration-tests/go-sql-server-driver

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /go

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-26 12:38:06 -08:00
Neil Macneale IV 1e2fc8883b Merge pull request #7135 from dolthub/fulghum/minor-edits
Removes the --old-format flag from dolt init.

The legacy format is no longer supported. Clients which use this flag will get an error, therefore this is considered a breaking change.
2023-12-26 10:48:43 -08:00
Neil Macneale IV c3f3ea7ab0 Pass through the --force flag for branch deletes 2023-12-21 18:25:54 -08:00
Neil Macneale IV e69b4857fc verify that branch deletes don't overwrite dirty remotes 2023-12-21 13:47:20 -08:00
Neil Macneale IV e18f795e14 Create branch test added 2023-12-21 11:11:59 -08:00
Neil Macneale IV 14474ccc3c Merge remote-tracking branch 'origin/main' into server-push 2023-12-21 10:27:59 -08:00
Jason Fulghum 77363d74fb Fixing BATS tests that used dolt init --old-format 2023-12-19 16:27:20 -08:00
Neil Macneale IV b19a00136f Disable the ability to create a database on push
Also add two tests for branch deletion
2023-12-19 15:06:17 -08:00
stephanie 2d717c6495 Merge pull request #7181 from dolthub/steph/config
Warning for nonsense variables in config
2023-12-18 17:02:12 -08:00
Dustin Brown 10cac7a4c2 [auto-bump] [no-release-notes] dependency by jennifersp (#7189) 2023-12-18 16:15:18 -08:00
Stephanie You f91c9abcfb remove nonsense variables from config tests 2023-12-18 13:59:54 -08:00
Aaron Son b7aa9887a7 Merge pull request #7114 from dolthub/aaron/run-bats-in-lambdabats
.github: Iterate on getting bats tests running with lambdabats.
2023-12-15 17:32:41 -08:00
Stephanie You b19af8f57e add check for nonsense variables in config 2023-12-15 17:32:00 -08:00