Nick Tobey
cb79e2dc56
Allow calling GetBool on nil DoltCliConfig. (This should only matter for tests)
2025-07-25 01:52:53 -07:00
Nick Tobey
a1e911159d
Fix duplicate method definition.
2025-07-25 01:34:34 -07:00
Nick Tobey
cd684f4360
Add tests for mmaped archive indexes.
2025-07-25 00:29:14 -07:00
Nick Tobey
b17c7b35d6
Improve logging when failing to load a db.
2025-07-25 00:29:14 -07:00
Nick Tobey
2453613aab
Fix typo in bats test name.
2025-07-25 00:29:14 -07:00
Nick Tobey
9204c1eb33
Add and propagate a config flag for determining whether to mmap archive indexes.
2025-07-25 00:29:14 -07:00
Nick Tobey
2d1eae8753
Ammend mmap implementation
2025-07-25 00:29:13 -07:00
Nick Tobey
cbdec3ecec
Implement a memory mapped archive index reader.
2025-07-25 00:29:13 -07:00
Nick Tobey
f58fd327ab
Add memory mapped file implementation that allows for mapping a region of a file.
2025-07-25 00:29:13 -07:00
coffeegoddd
c65f0869e3
[ga-bump-release] Update Dolt version to 1.57.2 and release v1.57.2
v1.57.2
2025-07-24 21:03:32 +00:00
Dustin Brown
39b169359c
[ga-bump-dep] Bump dependency in Dolt by jycor ( #9573 )
...
Co-authored-by: jycor <jcor@ucsd.edu >
2025-07-24 10:33:17 -07:00
James Cor
484447baf8
implement reversed merge_joins ( #9553 )
2025-07-23 21:18:44 -07:00
James Cor
8814ea1844
update allowed benchmarkers list ( #9570 )
...
Co-authored-by: James Cor <james@dolthub.com >
2025-07-23 14:59:34 -07:00
angelamayxie
7be917e8cf
Merge pull request #9567 from dolthub/angelamayxie-11ef8b7b
...
[auto-bump] [no-release-notes] dependency by angelamayxie
2025-07-23 14:08:49 -07:00
angelamayxie
a15a4a5dc6
Merge pull request #9568 from dolthub/angela/timetest
...
added TestTimeQueries
2025-07-23 13:30:50 -07:00
Angela Xie
9f5ffc0bdd
added TestTimeQueries
2025-07-23 13:27:55 -07:00
angelamayxie
b18631f484
[ga-bump-dep] Bump dependency in Dolt by angelamayxie
2025-07-23 20:24:48 +00:00
angelamayxie
4f5de541e9
Merge pull request #9566 from dolthub/angelamayxie-328e24e9
...
[auto-bump] [no-release-notes] dependency by angelamayxie
2025-07-23 13:15:32 -07:00
angelamayxie
fb52d5eae9
[ga-bump-dep] Bump dependency in Dolt by angelamayxie
2025-07-23 19:36:52 +00:00
Elian
97d2946dbb
Merge pull request #9564 from dolthub/elianddb/9556-fix-json-quoted-paths
...
dolthub/dolt#9556 - Fix JSON path parsing for unnecessarily quoted field names
2025-07-23 11:10:13 -07:00
elianddb
e8167be7df
Fix JSON path parsing for unnecessarily quoted field names
...
Fixes dolthub/dolt#9556
The issue was in dolt's JSON path parser where unnecessarily quoted
simple field names like $."a" were being rejected, despite MySQL
accepting them. This caused compatibility issues with Django's
compile_json_path() function which always quotes keys.
Changes:
- Fixed lexer in json_location.go to properly handle quoted field names
- Adjusted token position when encountering opening quotes
- Corrected empty string detection logic for quoted keys
- Added comprehensive tests matching the customer's use case
The fix ensures MySQL compatibility for:
- $.a (unquoted field names)
- $."a" (unnecessarily quoted simple field names)
- $."a key" (necessarily quoted field names with spaces)
- $."a"."b" (nested quoted field names)
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-23 17:08:09 +00:00
Aaron Son
a69cbc85d1
Merge pull request #9562 from dolthub/aaron/auto-gc-ergonomics
...
go: sqle: auto_gc.go: Add some simple ergonomics to Auto GC.
2025-07-23 12:52:56 -04:00
reltuk
a98ce8f125
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
2025-07-22 22:51:53 +00:00
coffeegoddd
8eca9c72b8
[ga-bump-release] Update Dolt version to 1.57.1 and release v1.57.1
v1.57.1
2025-07-22 22:37:01 +00:00
Aaron Son
6b876655f4
go: sqle: auto_gc.go: Add some simple ergonomics to Auto GC.
...
Previously auto gc would run anytime the store had grown 128MB. This change adds some simple heuristics which are used to keep auto gc from running when it is unlikely to collect much relative to the amount of work it will need to do.
In particular, the heuristics added are:
1) After GC has run, we will not run another GC until as much time as elapsed since the end of the GC as it took to run the GC itself.
2) After GC has run, we will not run another GC until the store has grown in size by at least as many bytes as the new gen contained at the end of the last successful GC run.
2025-07-22 15:32:55 -07:00
Aaron Son
a61a0e10b8
Merge pull request #9557 from dolthub/aaron/stats-LOCK-fd-leak
...
go: statspro: Ensure we Close() the DoltDB associated used for stats storage when we rotate storage.
2025-07-22 17:12:35 -04:00
Aaron Son
dbb0b777f5
go: statspro: Ensure we Close() the DoltDB associated used for stats storage when we rotate storage.
...
Dolt previously leaked a file descriptor on certain platforms every time stats was garbage collected. By closing the DoltDB, we no longer leak the descriptor.
Closing is currently best effort, since certain in-flight file operations can actually cause closing to fail.
2025-07-22 12:46:36 -07:00
angelamayxie
8133af8372
Merge pull request #9552 from dolthub/angelamayxie-e4d9d0a6
...
[auto-bump] [no-release-notes] dependency by angelamayxie
2025-07-21 14:01:00 -07:00
Aaron Son
2c03309030
Merge pull request #9528 from dolthub/aaron/bump-proto-third_party
...
proto/third_party,go.mod: Bump grpc-go, protobuf and protobuf-go. Regenerate go/gen/proto.
2025-07-21 15:56:29 -04:00
angelamayxie
430ebbbafc
[ga-bump-dep] Bump dependency in Dolt by angelamayxie
2025-07-21 19:26:43 +00:00
Aaron Son
9eb70ae365
go: env/grpc_dial_provider.go,sqle/cluster/controller.go: Use TLS credentails with ALPN disabled for now.
2025-07-21 11:07:46 -07:00
Aaron Son
6f2fe8d160
Merge remote-tracking branch 'origin/main' into aaron/bump-proto-third_party
2025-07-21 10:14:23 -07:00
Elian
84fec89016
Merge pull request #9514 from dolthub/elianddb/9508-fix-dolt-log-prepared-statement
...
#9508 - Fix dolt_log table function to support bind variables in prepared statements
2025-07-18 10:41:42 -07:00
jennifersp
73f5f79a2e
Merge pull request #9549 from dolthub/jennifersp-9ae1a2f0
...
[auto-bump] [no-release-notes] dependency by jennifersp
2025-07-18 09:56:14 -07:00
angelamayxie
c708eac7b9
Merge pull request #9547 from dolthub/angela/tuples
...
Fix off-by-one error in deciding whether to match keys or prefixes
2025-07-17 16:48:57 -07:00
jennifersp
d19e0dd234
[ga-bump-dep] Bump dependency in Dolt by jennifersp
2025-07-17 23:23:36 +00:00
Elian
b238ab910e
Update go/libraries/doltcore/sqle/dtablefunctions/dolt_log.go
...
Co-authored-by: Jason Fulghum <jason@dolthub.com >
2025-07-17 16:19:23 -07:00
Angela Xie
1814476bb2
fix off by one error for prefix/key matching
2025-07-17 16:11:40 -07:00
Angela Xie
94808d8e9e
remove serverconfig.go
2025-07-17 15:37:40 -07:00
Angela Xie
34ba4898af
allow for comparing tuple prefixes
2025-07-17 15:33:11 -07:00
Dustin Brown
e777f8b9f4
[ga-bump-dep] Bump dependency in Dolt by jycor ( #9545 )
...
Co-authored-by: jycor <jcor@ucsd.edu >
2025-07-17 15:11:54 -07:00
Nathan Gabrielson
58a99440f7
Merge pull request #9542 from dolthub/nathan/ciView
...
Dolt ci view
2025-07-17 12:22:16 -07:00
jennifersp
f4a0913b6b
Merge pull request #9543 from dolthub/jennifersp-50982784
...
[auto-bump] [no-release-notes] dependency by jennifersp
2025-07-17 11:29:32 -07:00
Nathan Gabrielson
17b9d813f9
skip one test as --save does not currently work with active servers
2025-07-17 11:03:44 -07:00
NathanGabrielson
bc7ed4d59b
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
2025-07-17 11:03:44 -07:00
Nathan Gabrielson
48ea9d760b
Small fixes
2025-07-17 11:03:44 -07:00
Nathan Gabrielson
c4ff0384a6
first pass dolt ci view
2025-07-17 11:03:44 -07:00
jennifersp
6b33c2806f
[ga-bump-dep] Bump dependency in Dolt by jennifersp
2025-07-17 17:43:54 +00:00
Elian
e4c4b1e7ba
impl review comments
2025-07-17 17:30:15 +00:00
Elian
6472af4041
Add supplementary tests for other dynamic table functions bind variable support
2025-07-17 17:30:15 +00:00