Jason Fulghum
eccaa4f56b
Changing to persist a root superuser that gets created on first launch of sql-server when there are no existing privileges.
2025-01-14 17:50:13 -08:00
Jason Fulghum
cabf880711
Merge pull request #8746 from dolthub/fulghum/sql_shell_root_access
...
Allow `dolt sql` to always log in as the `root` superuser
2025-01-14 15:53:12 -08:00
Neil Macneale IV
de95062d6f
Add --prune option to dolt_pull procedure ( #8745 )
...
Expose in CLI and test too.
2025-01-14 15:43:41 -08:00
Jason Fulghum
17c65a7d20
Allow dolt sql command line access to always log in as the root superuser account, even if the root account was assigned a password
2025-01-14 13:31:09 -08:00
Neil Macneale IV
c6cd6b441b
Handle WORKING and STAGED as --no-pretty options
2025-01-10 14:13:08 -08:00
Zach Musgrave
53a9c9aa2f
Merge pull request #8644 from milogreg/config-file-gen
...
Generate config.yaml when running sql-server
2025-01-10 09:10:03 -08:00
Nick Tobey
82916cdbe6
Remove backwards compatibility tests. If we're emitting blobs, we know that older versions can read them.
2025-01-08 17:09:11 -08:00
Nick Tobey
4b9801962d
Merge remote-tracking branch 'origin/main' into nicktobey/dont-optimize-json
2025-01-07 20:45:21 -08:00
Nick Tobey
9e8c70bf64
Fix naming to reflect inversion of system variable name "dolt_dont_optimize_json" to "dolt_optimize_json"
2025-01-07 20:24:56 -08:00
Jason Fulghum
bd8385ead6
Updating journal to allow chunk records larger than 1MB. Adding tests for JSON cases that triggered this.
2025-01-07 19:18:52 -08:00
Nick Tobey
480150cff7
Invert flag, use dolt_optimize_json with default of 1.
2025-01-07 18:21:28 -08:00
Nick Tobey
e21bd65650
Add "dolt_dont_optimize_json" system variable. When set, Dolt will write Json documents to storage as simple blobs instead of path-indexed trees.
2025-01-07 17:42:42 -08:00
milogreg
86446e6c18
Update config file gen bats test
2025-01-06 15:22:01 -08:00
milogreg
7627f6b25d
Merge main
2025-01-06 11:22:25 -08:00
Aaron Son
fd1e026c74
integration-tests/bats: fsck.bats: Improve performance of the archive test so it can run in lambdabats.
2025-01-03 11:59:35 -08:00
Aaron Son
41509e2aa9
go/store/nbs: archive_build.go: Improve memory utilization of archive build by not preallocating a buffer for 'max' chunk size.
2025-01-03 11:37:51 -08:00
Aaron Son
e3ff1f7d56
integration-tests/bats: archive.bats: Make these tests faster by batching the repeated update operations so that they can run in lambdabats.
2025-01-02 16:49:02 -08:00
Neil Macneale IV
0eeb791f08
Add test for conflicting data dirs
2025-01-02 09:58:30 -08:00
Neil Macneale IV
06f747afdd
relative config file path from cwd bug
2025-01-02 09:58:30 -08:00
Neil Macneale IV
f5a0c444e7
Fix several breaking profile tests
2025-01-02 09:22:45 -08:00
Neil Macneale IV
d2e70b4c43
refactor slow bats test into 6 slow bats tests
2024-12-16 16:12:37 -08:00
Jason Fulghum
916976a1bf
Merge pull request #8669 from dolthub/fulghum/caching_sha2_password
...
Add BATS tests to cover `caching_sha2_password` use with `mysql` client
2024-12-13 14:21:44 -08:00
James Cor
7714f70d79
parse user vars as interface{} instead of always string ( #8677 )
2024-12-13 14:20:06 -08:00
Maximilian Hoffman
4fff28324f
[stats] persist schema hashes for purging ( #8674 )
...
* [statspro] Save table schema hashes to detect alterations between stats loads
* fix preexisting drop datebase issue
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* fix testing harness and in-memory restarts after alter
* tuple fb type
* add new files
* add tuple ident
* fix file ident
* idents again
---------
Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com >
2024-12-13 13:40:06 -08:00
Jason Fulghum
46a4522110
Adding BATS tests to cover caching_sha2_password use with mysql client
2024-12-11 15:04:44 -08:00
milogreg
27dcc30d7b
Don't use removed persistence_behavior config option in tests
2024-12-09 15:20:43 -08:00
milogreg
698cc6356c
Merge main
2024-12-09 15:13:38 -08:00
milogreg
5f4f2d140d
Skip bats tests when SQL_ENGINE is set to remote-engine
2024-12-09 11:49:31 -08:00
Jason Fulghum
f82d484cd1
Merge pull request #8653 from dolthub/fulghum/replica-bug-fix
...
Bug fix: replication fails when a branch is deleted and tag with same name is created
2024-12-08 19:22:28 -08:00
milogreg
1b407e0765
Add bats tests for config file generation
2024-12-08 16:40:45 -08:00
Jason Fulghum
cf1edd8a3b
Bug fix: track refs by ID, instead of by path, since branches and tags with the same name will have the same path
2024-12-06 17:41:48 -08:00
Dustin Brown
e739e4f3fd
[auto-bump] [no-release-notes] dependency by jycor ( #8648 )
2024-12-06 13:45:01 -08:00
Nick Tobey
87615ac495
Add test for importing parquet file that wasn't generated by parquet-go
2024-12-05 19:03:48 -08:00
Daylon Wilkins
85d2545709
Fix for updated issue 8623
2024-12-05 04:25:14 -08:00
Nick Tobey
dcfc2a03ed
Merge pull request #8624 from dolthub/nicktobey/status
...
Update sql status to not report changes for unstaged tables that have changed but not visibly.
2024-12-03 17:17:02 -08:00
Nick Tobey
2dbd1f6c99
Respond to PR feedback: remove extra line from bats test.
2024-12-03 16:45:09 -08:00
Daylon Wilkins
b78310b9f8
Fixed issues with branch control
2024-12-03 03:06:04 -08:00
Nick Tobey
f19e655506
Update sql status to not report changes for unstaged tables that have changed but not visibly.
...
These tables can still be staged and report as modified once staged.
2024-12-02 15:30:33 -08:00
jennifersp
74e331ce6e
update test
2024-12-02 12:07:36 -08:00
Aaron Son
f7a9ab4bd3
Merge pull request #8612 from dolthub/aaron/gc-gen-takes-journal-metadata
...
go/store/nbs: Fixing GCGen to be more correct.
2024-11-28 20:24:27 +01:00
Aaron Son
60ca378d26
integration-tests/bats: garbage_collection.bats: PR feedback.
2024-11-28 07:50:11 -08:00
Aaron Son
adfa851ae9
go/store/nbs: Fixing GCGen to be more correct.
...
The original purpose of gc gen was two fold. The first purpose was to avoid applying the garbage collection results if the store had changed due to multi-process concurrency for any reason. The second purpose was to fast-complete a `dolt gc` invocation if the store had not changed at all since the last GC run.
For the first purpose, it is no longer necessary. We no longer allow multi-process access to the same NomsBlockStore.
For the second purpose, it was implemented slightly incorrectly, given the introduction of `dolt gc --full`. This change fixes the implementation to be more correct.
In particular, the semantics are:
* After a `dolt gc --full`, an immediate invocation of `dolt gc` or `dolt gc --full` fast-completes as no collection being necessary.
* After a `dolt gc`, only a `dolt gc` fast-completes as no collection being necessary. A `dolt gc --full` will run a full GC to completion.
2024-11-27 09:29:56 -08:00
coffeegoddd
e0cf7fcfdf
/{go,integration-tests}: remove trigger activities table in favor of typed activities
2024-11-25 13:39:19 -08:00
James Cor
bb53838af8
system variables cannot have nil defaults ( #8590 )
2024-11-22 13:44:19 -08:00
Jason Fulghum
fd16d5a1cb
Fixing tests
2024-11-21 16:25:30 -08:00
Jason Fulghum
68e108475c
Updating error message check in BATS test
2024-11-20 15:48:34 -08:00
coffeegoddd
8b31a25552
/integration-tests/bats/ci.bats: add test for remove workflow
2024-11-18 15:57:44 -08:00
coffeegoddd
c9b67c9bf6
/integration-tests/bats/ci.bats: finish up for now
2024-11-18 15:50:49 -08:00
coffeegoddd
db76ea0c76
/integration-tests/bats/ci.bats: filling in more tests
2024-11-18 15:31:56 -08:00
coffeegoddd
32ffd4f4ea
/integration-tests/bats/ci.bats: filling in some test stubs
2024-11-18 14:36:37 -08:00