James Cor
3da0749477
handle database charset/collation changes ( #7823 )
2024-05-10 13:18:19 -07:00
James Cor
4249386521
adding --name-only option for dolt diff ( #7802 )
2024-04-30 15:48:21 -07:00
James Cor
d2df433bf8
match mysql fk name generation ( #7711 )
2024-04-09 16:27:56 -07:00
Jason Fulghum
b8b29e6b5f
Updating generated FK ID in test after fixing bug in FK.HashOf()
2024-01-24 14:56:55 -08:00
Jason Fulghum
4773192a50
Fixing missing "|| false" in BATS files
2023-08-09 12:10:14 -07:00
Jason Fulghum
2bc1ee8e9b
Adding a BATS test for sql output with hex-encoded binary values
2023-07-17 14:55:20 -07:00
Pavel Safronov
f370130eb2
Temporarily skip certain remote BATS tests that rely on dolt checkout.
2023-06-27 13:41:49 -07:00
Pavel Safronov
75f46c7bb5
Remove some dead code and fix diff.bats failure.
2023-06-26 17:51:17 -07:00
Pavel Safronov
71f5eac46e
Removed foreign key logic from dolt diff.
...
Update diff.bats tests to remove foreign key resolution text.
2023-06-26 17:51:17 -07:00
Jason Fulghum
3899ddf05a
First pass at FK equality checking to handle resolved/unresolved FKs.
2023-05-15 15:35:14 -07:00
Nick Tobey
a322a31408
Add bats tests for dolt diff -R
2023-05-02 15:16:09 -07:00
jennifersp
612201a938
support EVENT storage handling ( #5717 )
2023-04-13 23:54:11 -07:00
Neil Macneale IV
2dc379115c
Fix bats tests
2023-03-07 08:03:30 -08:00
Neil Macneale IV
79b0dbe13d
Display DDL for views and triggers in dolt diff
...
Second attempt of botched PR: https://github.com/dolthub/dolt/pull/5476
2023-03-06 17:24:16 -08:00
Neil Macneale IV
4fe09d5456
Clean up changes which were pushed prematurely
...
Revert "Add bats test for new dolt diff output for dolt_schema changes"
This reverts commit 8163ee0efb .
Revert "minor refactor to avoid unreachable code"
This reverts commit 0bbba1ced0 .
Revert "Display DDL for views and triggers in `dolt diff`"
This reverts commit d5977fdf72 .
Revert "Small refactor to rename engine to sqlEng."
This reverts commit 99b343c01a .
2023-03-06 17:16:01 -08:00
Neil Macneale IV
8163ee0efb
Add bats test for new dolt diff output for dolt_schema changes
2023-03-06 15:56:23 -08:00
jennifersp
cbe7e08508
add dolt_patch() stored procedure ( #5413 )
2023-03-01 14:27:44 -08:00
Taylor Bantle
85fbbe2b68
bats: Move diff stat tests to new file, add summary tests
2023-02-23 12:20:17 -08:00
Taylor Bantle
b62f7128e8
Update bats
2023-02-22 13:50:02 -08:00
Daylon Wilkins
75ec9ca946
Line-based diffs for modified multiline rows
2023-02-22 07:44:52 -08:00
James Cor
b3aed5e995
adding diff
2023-02-16 00:59:45 -08:00
James Cor
7501a87c55
feedback
2023-02-15 12:17:29 -08:00
James Cor
e5318863e8
adding tests
2023-02-13 01:30:52 -08:00
James Cor
2890f52d5c
add bats test
2023-02-08 00:58:56 -08:00
Daylon Wilkins
8aeb1c659e
Removed deprecated dolt functions
2023-01-03 02:13:37 -08:00
Taylor Bantle
5fe1a0083d
More bats
2022-10-26 17:57:50 -07:00
Taylor Bantle
3f666c98ba
Add --merge-base flag to dolt diff
2022-10-26 16:04:43 -07:00
Taylor Bantle
c79bd513b2
Three dot dolt diff syntax
2022-10-26 15:34:30 -07:00
Taylor Bantle
9b9448c426
Two dot diff syntax cli
2022-10-26 14:49:15 -07:00
jennifersp
691997b87a
support dolt_diff_summary_table_function ( #4363 )
2022-09-26 09:48:58 -07:00
Dhruv Sringari
00ae8c0808
Trim trailing nil fields from tuples ( #4316 )
...
* skip diffs caused by short tuples
* fix tests
* last fix
* trim null suffixes of val.Tuple's
* fix
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
Co-authored-by: druvv <druvv@users.noreply.github.com >
2022-09-13 17:07:38 -07:00
Jason Fulghum
41c042406c
Adding another assertion for the pk field
2022-09-12 10:28:08 -07:00
Jason Fulghum
5127e02435
Removing unnecessary test
2022-09-12 10:27:46 -07:00
Jason Fulghum
4a54e85393
Removing test output code
2022-09-12 10:27:32 -07:00
Tan Yong Zhi
5ab5f499fc
Address reviewer comments
2022-09-11 13:53:38 +08:00
Tan Yong Zhi
f8ff89b471
Add test
2022-09-05 14:33:57 +08:00
Tan Yong Zhi
53e6e19c4a
Fix even more tests
2022-08-26 12:14:05 +08:00
Tan Yong Zhi
9b4b805268
Fix more failing bats tests
2022-08-26 12:14:05 +08:00
Dhruv Sringari
9758e697c8
Allows diff to be performed across primary key renames ( #4156 )
...
* allow diff across pk renames
* pr comments
2022-08-22 14:58:55 -07:00
abmyii
da9d9d9016
dolt diff --limit undefined limit test
...
Co-authored-by: Tim Sehn <tim@dolthub.com >
2022-08-19 10:28:30 +01:00
Abdurrahmaan Iqbal
7fed8e45cc
Show empty diff for --limit 0
2022-08-17 18:14:56 +01:00
Abdurrahmaan Iqbal
e8660cf9b2
Add bats tests for dolt diff --limit
2022-08-17 17:32:03 +01:00
Jason Fulghum
cfd6186899
Updating BATS tests for type casing change from GMS
2022-08-12 09:56:12 -07:00
Dhruv Sringari
15108c7d07
fix for #4037 ( #4049 )
...
The ordering of the primary key columns in returned by Schema.GetAllCols() should not determine diffability.
If and only if the primary key tags, their relative ordering, and their types (in the new format) are equal, two schemas are diffable.
Schema.GetPkCols() always returns the columns in ordinal order.
2022-08-10 15:32:27 -07:00
Dhruv Sringari
59b8d649eb
fix dolt diff cli cmd not working with spaces in column names ( #4024 )
2022-08-05 13:37:53 -07:00
Andy Arthur
a1b7d11560
avoid a BATS lightning strike
2022-08-02 10:10:26 -07:00
Dhruv Sringari
d2d0864391
[no-release-notes] keyless diff for the new format ( #3817 )
...
* keyless diff for the new format
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* pr comment
Co-authored-by: druvv <druvv@users.noreply.github.com >
2022-07-13 14:42:43 -07:00
Zach Musgrave
5425b79a61
merge main
2022-06-24 09:56:53 -07:00
Zach Musgrave
81aa1d2159
Bug fix and test fix
2022-06-23 17:10:30 -07:00
Zach Musgrave
6c5addb509
Fixed keyless tests
2022-06-23 17:07:15 -07:00