Tim Sehn
3b43b06cef
Remove extraneous spaces
2023-05-18 13:24:42 -07:00
Tim Sehn
bdff9be723
More thorough load data bats tests
2023-05-18 13:15:22 -07:00
Tim Sehn
4be9963b63
More load data tests
2023-05-18 12:42:43 -07:00
Tim Sehn
ce0d917c64
Load data testing progress
2023-05-18 12:08:23 -07:00
Tim Sehn
fcb5455fd0
Stubs and a couple bats tests for load data bats tests improvements
2023-05-18 11:11:31 -07:00
Aaron Son
6ea915ca4d
Merge remote-tracking branch 'origin/main' into aaron/block-on-cluster-replication
2023-05-16 16:57:09 -07:00
Aaron Son
af184681a4
Merge pull request #5949 from dolthub/aaron/cluster-replication-heartbeats
...
go: sqle: cluster: commithook: Periodically heartbeat to a standby when we are primary. This allows replication_lag on the standby to more accurately reflect the possible drift locally.
2023-05-16 16:51:08 -07:00
Neil Macneale IV
7a740f3fa0
Use UTC timestamp in date comparison test.
2023-05-16 15:08:31 -07:00
Aaron Son
6ccae75a8d
integration-tests/go-sql-server-driver: Add TestCluster/last_updated_heartbeats test which asserts that last_updated does not grow while there are no writes to replicate.
2023-05-16 14:21:41 -07:00
Neil Macneale IV
a19dadd32b
Use UTC timestamp in date comparison test.
...
Allows tests to run on laptops which aren't in UTC.
2023-05-16 13:24:07 -07:00
Jason Fulghum
3899ddf05a
First pass at FK equality checking to handle resolved/unresolved FKs.
2023-05-15 15:35:14 -07:00
Aaron Son
e1cb32e022
Merge remote-tracking branch 'origin/main' into aaron/block-on-cluster-replication
2023-05-15 15:04:44 -07:00
Aaron Son
535e59141d
integration-tests/go-sql-server-driver: Cluster, dolt_cluster_ack_writes_timeout_secs, add a failing test to assert that dolt_branch modifications are waited on.
2023-05-15 14:00:04 -07:00
Nick Tobey
725b148a78
Update drop-create.bats to use new generated constraint name.
2023-05-12 12:18:19 -07:00
Nick Tobey
69216e0acd
Merge branch 'main' of github.com:dolthub/dolt into nicktobey/create-like
2023-05-12 11:25:31 -07:00
Nick Tobey
2953275da9
Update tests.
2023-05-11 16:47:48 -07:00
Aaron Son
dfdb4a4b2a
go: sqle: cluster: Implement a first pass at dolt_cluster_ack_writes_timeout_secs.
...
Setting this system variable to a non-zero value on a primary replica in a
sql-server cluster will cause dolt to block a SQL client performing a commit
until that client's commit is fully replicated to the replicas.
If there is a timeout, currently a warning is logged in the logs.
2023-05-11 15:50:43 -07:00
Andy Arthur
2fa52271dc
Merge remote-tracking branch 'origin/main' into andy/validate-not-null
2023-05-11 13:49:25 -07:00
Jason Fulghum
f290614b3d
Merge pull request #5922 from dolthub/fulghum/schema-merge
...
Changing schema equality to not consider tag when comparing columns
2023-05-11 12:58:00 -07:00
Aaron Son
4c0f974a28
Merge pull request #5919 from dolthub/aaron/sql-dolt_log_level-variable
...
sql-server: `dolt_log_level` system variable allows reading the current log level for the server and setting a new one.
2023-05-11 10:27:43 -07:00
Jason Fulghum
da44204f58
Pulling out tag related checks in test
2023-05-11 10:27:39 -07:00
Nick Tobey
68f6d036ba
Remove print debugging.
2023-05-10 16:15:20 -07:00
Nick Tobey
abad9bc585
Use bats tests to verify dolt stash --help
2023-05-10 16:12:48 -07:00
Jason Fulghum
8f8e05c674
Changing schema equality to not consider tag when comparing columns
2023-05-10 16:04:52 -07:00
Andy Arthur
1186d6de80
go/doltcore/merge: register not null constraint violations for left-side NULLs
2023-05-10 15:58:57 -07:00
Nick Tobey
ab6152c4f3
Fix bats test that verifies the behavior of --help
2023-05-10 15:49:48 -07:00
Nick Tobey
630a53b68f
Add bats test for per-table constraint check names.
2023-05-10 15:19:21 -07:00
Aaron Son
2674c3cf2a
sql-server: Allow dolt_log_level system variable to receive writes and dynamically update the log level.
2023-05-10 14:46:45 -07:00
Aaron Son
663d2e3181
sql-server: Expose the current server log level through the dolt_log_level system variable.
2023-05-10 14:25:41 -07:00
Aaron Son
0d024eb0a3
Merge remote-tracking branch 'origin/main' into aaron/dolt_gc-unavailable-on-standby-replica
2023-05-10 10:10:01 -07:00
James Cor
e40a3b303a
sort pk???
2023-05-09 14:34:41 -07:00
Aaron Son
6e6ed1b77b
Fix result ordering in integration test.
2023-05-09 14:08:19 -07:00
Aaron Son
acf99f1edf
go: sqle: dolt_gc.go: Disable CALL dolt_gc() on a standby replica, where it is not currently safe. Shallow GC is still available.
2023-05-09 13:41:16 -07:00
jennifersp
537a651690
fix empty string import for ENUM and SET types ( #5856 )
2023-05-09 07:15:44 -07:00
Neil Macneale IV
9575228ae5
Refactor SQLEngine instantiation into the Queryist interface
...
SQL Command arguments which pertain to instantiating a local SqlEngine instance are now global arguments which come before the sql subcommand. This is a breaking change for users of the sql command who pass in the following arguments:
--data-dir
--user
--doltcfg-dir
--privilege-file
--branch-control-file
All of the test changes pertain to moving those arguments, and nothing else. This is by design to ensure we don't have broader impact to the interface.
With this abstraction in place, we can put a different Queryist implementation in place - specifically one which talks to a remotes server - which is the end goal.
See: https://github.com/dolthub/dolt/issues/3922
2023-05-08 16:50:46 -07:00
AndyA
c203c10589
Merge pull request #5874 from dolthub/andy/merge-unresolved-fk-fix
...
go/doltcore/merge: use unresolved-aware fk matching method in Foreign…
2023-05-08 09:30:34 -07:00
Nick Tobey
91dfcb5aa9
Merge pull request #5870 from dolthub/nicktobey/doltignore
...
Improve dolt_ignore pattern rules
2023-05-05 15:14:41 -07:00
Nick Tobey
952fcc81f9
Merge pull request #5881 from dolthub/nicktobey/bodega-cats
...
Remove overzealous validation check.
2023-05-05 14:38:04 -07:00
Neil Macneale IV
adae7f3bc7
Fix bats test which is not checking for '|| false'
2023-05-05 14:09:42 -07:00
Nick Tobey
f03b2240dd
Skip dolt_ignore bats tests on __LD_1__ format.
2023-05-05 14:03:53 -07:00
Neil Macneale IV
15f60698f9
Move cli flags in bats tests to make them compliant
2023-05-05 11:46:46 -07:00
Nick Tobey
e3806bdd4d
Add bats test for detectign equivalent patterns.
2023-05-05 11:03:12 -07:00
Nick Tobey
2a933b5c59
Update error messages in tests.
...
With the preemptive check removed, the error messages actually become more informative!
2023-05-05 10:54:23 -07:00
Zach Musgrave
75b1395510
New integration test ala aaron
2023-05-05 07:42:32 -07:00
Nick Tobey
a57f9cfed1
Update error messages in tests.
...
With the preemptive check removed, the error messages actually become more informative!
2023-05-04 16:16:04 -07:00
Daylon Wilkins
c1a3768493
Added "read" permission to branch control, now force longest match and denial rules
2023-05-04 15:14:13 -07:00
Nick Tobey
d87f6d9fc1
Add bats check for importing table with absent auto-increment column.
2023-05-04 14:25:08 -07:00
Daylon Wilkins
40a859500f
Fixed branch control issue causing a nil panic under very specific conditions
2023-05-04 07:58:51 -07:00
Andy Arthur
1ca6a1277c
go/doltcore/merge: use unresolved-aware fk matching method in ForeignKeysMerge
2023-05-03 15:23:01 -07:00
Nick Tobey
1e91d99634
Update ignore.bats
2023-05-03 12:24:35 -07:00