Merged PRs
dolt
- 10110: #7628: Refactor
dolt backupto use SQL interface
Fixes #7628
Thedolt backupcommand now interfaces through SQL to execute stored proceduredolt_backup. Thedolt_backupprocedure now supports HTTP and HTTPS URLs foradd,restore, andsync-urlparameters as a result. AWS flags are also supported for the above too, but only outside of the sql-server (this goes for both CLI and SQL interfaces).- Removed
DoltEnv-based subcommand implementations and replaced them with calls to stored proceduredolt_backup. - Updated schema for
dolt_backupsto includeparamscolumn. - Added support for HTTP and HTTPS in
dolt_backupprocedure'sadd,restore, andsync-urlparameters. We implicitly use the dialer provided bySession.Provider()to get remote databases. - Added
helper/remotesrv-common.bashwithremotesrv_start,remotesrv_stop, andwait_for_portfunctions to testdolt backupagainst HTTP remote server. - Updated stored procedure test harness to use local system files for
dolt_backup. - Removed
backup.batsfromlocal-remote.bashlist so tests run on remote server. - Add AWS flags
--aws-region,--aws-creds-type,--aws-creds-fileand--aws-creds-profiletodolt backup restore.' - Switch
TestDoltStoredProceduresto use local file system due to limitation onInMem.TmpDir()incompatibility.
- Removed
go-mysql-server
- 3318: #10113: Fix DELETE queries with NOT EXISTS uninitialized subqueries
Fixes #10113
DELETEqueries withNOT EXISTSsubqueries failed becauseEXISTSexpressions did not set therefsSubqueryflag. This causedDELETEqueries to use a simplified analyzer batch that skipped subquery initialization, leaving subqueries without execution builders.- Refactor
EXISTSexpression building to reusebuildScalar()for*ast.Subquery, ensuring refsSubquery is set. - Capture the table node for simple
DELETEqueries beforebuildWhere()wraps it. - Separate concerns between explicit targets and implicit targets in a bool, but keep all targets in the same list to handle wrapped targets.
- Add
WithTargets()method to update targets without changing the explicit/implicit flag. - Fix
offsetAssignIndexes()fast path to skip when virtual columns are present, using the full indexing path instead.
- Refactor