Commit Graph

5000 Commits

Author SHA1 Message Date
coffeegoddd
7b0cb55338 [ga-bump-release] Update Dolt version to 1.57.5 and release v1.57.5 2025-08-02 00:37:14 +00:00
NathanGabrielson
c4912686d8 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-08-01 17:48:29 +00:00
Nathan Gabrielson
36c7ed33e6 more small changes 2025-08-01 10:38:45 -07:00
Nathan Gabrielson
4d512f18e2 Change run.go a bit, clean up testing file 2025-08-01 10:38:45 -07:00
Nathan Gabrielson
670709eaaa Some fixes 2025-08-01 10:38:45 -07:00
Nathan Gabrielson
0e8ddd2725 Fix bad + more testing, safer type conversion 2025-08-01 10:38:44 -07:00
Nathan Gabrielson
104dee863b More small changes, new test 2025-08-01 10:38:44 -07:00
Nathan Gabrielson
30cbc49158 Mostly done 2025-08-01 10:38:44 -07:00
Nathan Gabrielson
bc9a960b42 WIP 2025-08-01 10:38:44 -07:00
coffeegoddd
6a8bcbacec [ga-bump-release] Update Dolt version to 1.57.4 and release v1.57.4 2025-07-31 00:09:12 +00:00
elianddb
ef549b9e1d Merge latest main branch into binary-as-hex feature branch
- Resolves conflicts in sql.go by integrating both:
  1. Main branch's query catalog refactoring (direct SQL queries, no dEnv dependency)
  2. Binary-as-hex parameter support from feature branch
- Maintains SaveQuery function name from main branch
- Preserves binaryAsHex parameter threading through all query execution paths
- Updates function signatures to match main branch's simplified approach
2025-07-30 19:21:55 +00:00
elianddb
05068bab6c add miss dependencies for win and comments 2025-07-30 11:29:52 -07:00
Elian
ae9f979d79 Update sql.go rm extra comments 2025-07-30 11:19:24 -07:00
elianddb
14b4292cda add review compile-time interface check, err handling, and test cleanup 2025-07-30 11:16:11 -07:00
Nathan Gabrielson
003feae7af Merge pull request #9560 from dolthub/nathan/queryCatalog
Better dolt_query_catalog system table
2025-07-29 12:51:03 -07:00
Aaron Son
0d5bead5a0 go: sqle: autoincrement_tracker: When we close the engine.SqlEngine, finalize any ongoing initialization of AutoIncrementTrackers.
This lets us more cleanly close DoltDB instances, which we should not be accessed after we close them.
2025-07-29 11:06:43 -07:00
coffeegoddd
365926dc1a [ga-bump-release] Update Dolt version to 1.57.3 and release v1.57.3 2025-07-28 23:09:59 +00:00
elianddb
cf1ec5124a [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-07-28 23:08:54 +00:00
elianddb
debe8e876c switch to concrete type 2025-07-28 22:59:55 +00:00
elianddb
2393ca393f bypass column validation on binaryAsHex flag print 2025-07-28 22:43:09 +00:00
Nathan Gabrielson
1dcacfb844 sort imports 2025-07-28 14:27:02 -07:00
NathanGabrielson
97cc72ab3f [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-07-28 14:23:28 -07:00
Nathan Gabrielson
e95b69724c Some cleanup 2025-07-28 14:22:17 -07:00
Nathan Gabrielson
adb7acc051 More changes, hopefully almost done? 2025-07-28 14:22:17 -07:00
Nathan Gabrielson
bc75d263c8 Many changes 2025-07-28 14:22:17 -07:00
Nathan Gabrielson
24c6c33bc6 dolt_query_catalog table update 2025-07-28 14:22:17 -07:00
elianddb
130ef212ba rm extra imports 2025-07-28 20:04:02 +00:00
elianddb
a3e6bbaf88 mv impl to print layer 2025-07-28 19:43:44 +00:00
elianddb
77b0e3a7b4 Complete binary-as-hex implementation for local and server connections
* Move binary-as-hex decision to main Exec() function with TTY detection
* Implement row-level binary data transformation for all output formats
* Add server connection binary type detection via DatabaseTypeName()
* Handle both local ([]byte) and server (string) binary data formats
* Support BINARY and VARBINARY types following MySQL 8.4+ behavior
* Remove redundant SQL context usage and function parameters
* All binary-as-hex tests now pass for local and server connections

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 19:43:33 +00:00
elianddb
e782684753 Add expect files for binary-as-hex tests
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 19:43:19 +00:00
elianddb
0af2edb3c4 impl client-side binary-as-hex 2025-07-28 19:43:19 +00:00
Aaron Son
b8d7bb4637 go/utils/repofmt/check_fmt.sh: Fix to consider eventsapi_schema local. 2025-07-26 11:43:18 -07:00
reltuk
e613f6e2c9 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-07-25 20:42:49 +00:00
Aaron Son
f19ebfd1df go,proto: Move eventsapi schema into a separate repository.
This results in less weird contortions and less opportunity for dependency drift from consumers of Dolt.
2025-07-25 13:04:22 -07:00
coffeegoddd
c65f0869e3 [ga-bump-release] Update Dolt version to 1.57.2 and release v1.57.2 2025-07-24 21:03:32 +00:00
coffeegoddd
8eca9c72b8 [ga-bump-release] Update Dolt version to 1.57.1 and release v1.57.1 2025-07-22 22:37:01 +00: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
Tim Sehn
2414906ef0 Merge pull request #9460 from dolthub/tim/read-only-sysvar
Implement the @@read_only system variable
2025-07-16 12:06:09 -07:00
Tim Sehn
98992b0e1a Update go/cmd/dolt/commands/sqlserver/server.go
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2025-07-16 12:06:01 -07:00
coffeegoddd
12f631d12d [ga-bump-release] Update Dolt version to 1.57.0 and release v1.57.0 2025-07-16 18:15:02 +00:00
Neil Macneale IV
3859156cb1 Merge remote-tracking branch 'origin/main' 2025-07-16 02:32:45 +00:00
Neil Macneale IV
550e3bb0f2 Fix missing argument in CreateCommitArgParser call
Fix compilation error in signed_commits_test.go by adding the missing
supportsBranchFlag parameter to CreateCommitArgParser call.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 22:51:25 +00:00
Neil Macneale IV
bfbb3de195 Implement --branch flag for dolt_add stored procedure
- Add supportsBranchFlag parameter to CreateAddArgParser
- Update CLI usages to use CreateAddArgParser(false)
- Update stored procedure to use CreateAddArgParser(true)
- Add branch handling logic using revision-qualified database names
- Add proper error handling for invalid branch names

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 22:39:18 +00:00
Neil Macneale IV
216dad0c3b Implement --branch flag for dolt_commit stored procedure
Add --branch flag to dolt_commit stored procedure that allows committing
to a different branch without switching to it first. The flag is only
available in stored procedures, not in the CLI.

Key changes:
- Made CreateCommitArgParser() dynamic with supportsBranchFlag parameter
- CLI uses CreateCommitArgParser(false) to exclude --branch flag
- Stored procedure uses CreateCommitArgParser(true) to include --branch flag
- Uses revision-qualified database names (db/branch) for branch operations
- Added comprehensive tests including error handling for non-existent branches

The implementation allows users to commit changes to different branches
without context switching, improving workflow efficiency for applications
using Dolt as a versioned database.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 22:19:38 +00:00
Neil Macneale IV
67c2e37c86 Update GC docs to have correct max for archive level (#9526) 2025-07-15 15:04:12 -07:00
Nathan Gabrielson
d831c973c5 Merge pull request #9517 from dolthub/nathan/ciUsesSQL
Migrate dolt CI commands to query database
2025-07-15 13:46:08 -07:00
Nathan Gabrielson
63f88591f9 cleaning up PR 2025-07-15 11:10:38 -07:00
coffeegoddd
e74b781c1a [ga-bump-release] Update Dolt version to 1.56.0 and release v1.56.0 2025-07-15 00:36:42 +00:00