Commit Graph

2238 Commits

Author SHA1 Message Date
Andy Arthur
050ab60fa1 add copyright header 2021-06-14 09:31:14 -07:00
Andy Arthur
70bb5b7d55 pr feedback 2021-06-11 14:57:47 -07:00
Andy Arthur
7459dab905 added broken queries 2021-06-11 14:43:30 -07:00
Aaron Son
237c6bfcfa Merge remote-tracking branch 'origin/master' into aaron/fkconstrain-check-support-types.Null-in-tuple 2021-06-11 13:45:42 -07:00
Aaron Son
7243848381 go: fkconstrain: check: Correctly handle types.Null values in tuples being checked. 2021-06-11 12:12:15 -07:00
Aaron Son
4fa7b14153 .github: ci-go-tests: Run integration_test without -race. 2021-06-11 11:33:05 -07:00
Aaron Son
b888dc44e1 Merge remote-tracking branch 'origin/master' into aaron/run-altertests-separate-in-ci 2021-06-11 10:14:13 -07:00
reltuk
3cf0b5b3bd [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-06-10 23:50:46 +00:00
Aaron Son
36a9976e9d .github: Run go/libraries/doltcore/sqle/altertests in separate job. Run them without -race. 2021-06-10 16:48:46 -07:00
Zach Musgrave
77e87a517b Merge pull request #1786 from dolthub/zachmu/tx-tests
Test support for transactions, and changed the behavior of dolt sql in batch mode when it encounters an error
2021-06-10 12:00:53 -07:00
Zach Musgrave
7ab3a0120a PR feedback 2021-06-10 11:23:36 -07:00
Zach Musgrave
4dcdd74bae Formatting 2021-06-09 17:19:53 -07:00
Zach Musgrave
8f10328e66 Turned off autocommit for ExecuteSql in testutil.go, which was already using batched mode (but not benefitting from it due to autocommit being on). This should fix the unit test timeouts in CI 2021-06-09 17:08:50 -07:00
zachmu
a686bb3185 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-06-09 23:21:35 +00:00
Zach Musgrave
35dcc9fe13 Fix the dolt harness for sqllogictest to correctly reinitialize the dolt repo for each file. This was previously unnecessary because we were not persisting the working set on commit and had autocommit disabled 2021-06-09 16:06:18 -07:00
Brian Hendriks
bcafd4b548 thread context through to function creation in dolt (#1793)
Co-authored-by: Brian Hendriks <brian@liquidata.co>
2021-06-09 14:49:33 -07:00
Aaron Son
760fb7c2a5 Merge pull request #1797 from dolthub/aaron/fix-some-races
[no-release-notes] go: store,doltcore/schema: Fix some race conditions.
2021-06-09 14:44:44 -07:00
Aaron Son
52532f10db go: store,doltcore/schema: Fix some race conditions. 2021-06-09 14:05:33 -07:00
Zach Musgrave
07bc5fafdd Made dolt_merge return a particular error type, and check for it during batch processing (in which case don't do any further state cleanup). Also removed extra error decorators that could interere with error type detection. 2021-06-08 18:07:07 -07:00
Zach Musgrave
6b557dd00e Run all engine tests with and without transactions enabled 2021-06-08 14:50:15 -07:00
Zach Musgrave
e6c1cf25b3 Moved transaction enablement into session 2021-06-07 20:41:14 -07:00
Zach Musgrave
8a76aa609a Reverting code I deleted, fixed the versioned queries bug a different way 2021-06-07 20:01:46 -07:00
Zach Musgrave
365b18c8e6 Fixed a bug in test setup for query catalog tests 2021-06-07 17:03:10 -07:00
Zach Musgrave
f6fc79d709 Fixed index editor test for transactions 2021-06-07 16:06:36 -07:00
Zach Musgrave
6e14c94471 Fixed bug in start transaction, where HEAD var was getting overwritten inappropriately 2021-06-07 15:28:07 -07:00
Zach Musgrave
469381e30a Use argparser.Parse directly in dfunctions 2021-06-04 15:38:01 -07:00
Zach Musgrave
4aa3bb2b3a Fixed bug in session: batch mode default is non batched 2021-06-04 14:55:49 -07:00
Zach Musgrave
89527f06d6 Merge master 2021-06-04 14:40:52 -07:00
Zach Musgrave
94adad2529 Refactored tabled editor tests to not use global vars 2021-06-04 14:23:54 -07:00
Zach Musgrave
5924bf8f5f Moved batched mode setting out of database, into session where it belongs 2021-06-04 14:19:14 -07:00
Vinai Rachakonda
2b20ecf6c9 Vinai/create temp tables (#1766)
Allows CREATE TEMPORARY TABLES
2021-06-04 13:18:47 -04:00
Brian Hendriks
5c990eeced bump gms and fix issues (#1784) 2021-06-03 16:31:22 -07:00
Zach Musgrave
790f4f855f Checkpoint in debugging tests with transactions enabled 2021-06-02 17:00:20 -07:00
Andy Arthur
ad3253c103 expand dolt reserved namespace 2021-06-01 13:36:31 -07:00
Daylon Wilkins
ae0de59aa0 Added session var that matches dolt and transaction commits 2021-05-30 21:39:32 -07:00
zachmu
724b6ae6be [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-05-28 18:07:12 +00:00
Zach Musgrave
0b0295efee Merge master 2021-05-28 11:06:00 -07:00
Zach Musgrave
094a14a816 Bug fixes for savepoints 2021-05-28 10:51:56 -07:00
Daylon Wilkins
e310bae07c Added mini rollback functionality for statements that error 2021-05-27 16:19:14 -07:00
Zach Musgrave
813bcf9a2a Slight tweak to 3-client test 2021-05-27 16:16:46 -07:00
Zach Musgrave
15a69db722 More transaction tests 2021-05-27 16:08:05 -07:00
Zach Musgrave
ee6fdbb5e1 Transaction tests for delete 2021-05-27 15:37:34 -07:00
Zach Musgrave
cfdb1c0b73 Dolt transaction tests with insert and update 2021-05-27 14:48:37 -07:00
Zach Musgrave
812a9f79be Merge branch 'zachmu/tx-3' of github.com:dolthub/dolt into zachmu/tx-3 2021-05-27 09:16:31 -07:00
Zach Musgrave
2804c99448 Disable transactions by default 2021-05-27 09:16:23 -07:00
zachmu
7377c2f6a6 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-05-26 23:50:09 +00:00
Zach Musgrave
b97d57a930 Removed debug text file 2021-05-26 16:43:15 -07:00
Zach Musgrave
d75eae5dc9 Enable transaction tests 2021-05-26 16:32:10 -07:00
Zach Musgrave
5fc82e559d Bug fix for rolling back to a savepoint that doesn't exist 2021-05-26 16:10:13 -07:00
Zach Musgrave
847edfdecf Dolt harness transaction support 2021-05-26 12:38:16 -07:00