Commit Graph

9837 Commits

Author SHA1 Message Date
Aaron Son b5844377e2 integration-tests: Fix MySQLDockerfile for go 1.17.1. 2021-09-10 12:32:31 -07:00
Aaron Son a29b4dedac Merge pull request #2117 from dolthub/aaron/remotestorage-hedge-test-flakiness-fix
go: remotestorage: hedge_test.go: Fix these tests to be less flakey, use determinstic interleaving of goroutines and hedge requests by instrumenting hedger's time.After.
2021-09-10 11:22:05 -07:00
Aaron Son 9c256ef017 Merge pull request #2109 from dolthub/aaron/dbfactory-grpc-dialer-through-params
go/libraries/doltcore/dbfactory: Change our GRPC remote DB factory to take the GRPC dialer through a param.
2021-09-10 11:21:07 -07:00
Aaron Son cdcf9b7411 Merge remote-tracking branch 'origin/master' into aaron/dbfactory-grpc-dialer-through-params 2021-09-10 10:41:52 -07:00
Aaron Son 0235e03506 format_repo.sh. 2021-09-09 16:22:30 -07:00
Aaron Son b0b6a6bb6d go: remotestorage: hedge_test.go: Fix these tests to be less flakey, use determinstic interleaving of goroutines and hedge requests by instrumenting hedger's time.After. 2021-09-09 16:17:05 -07:00
Daylon Wilkins 094e9f4b3a Merge pull request #2104 from abmyii/bad-row-error-format
Modify bad row error format
2021-09-09 15:57:41 -07:00
Daylon Wilkins b346ddffd5 Merge pull request #2114 from dolthub/daylon/up-version
Bump Go version to 1.17
2021-09-09 15:33:13 -07:00
Aaron Son bce604bab0 Merge remote-tracking branch 'origin/master' into daylon/up-version 2021-09-09 15:04:59 -07:00
Abdurrahmaan Iqbal e17bfddf57 All-caps CHAR for consistency 2021-09-09 22:58:50 +01:00
Abdurrahmaan Iqbal a11b64e692 Modify error message format and add test 2021-09-09 22:58:50 +01:00
Abdurrahmaan Iqbal 474c7aaee2 Modify bad row error format 2021-09-09 22:58:50 +01:00
Zach Musgrave 97a255a2ab Merge pull request #2106 from dolthub/zachmu/sql-context
Give each SQL query in the shell its own context, and fix SIGTERM behavior for SQL shell
2021-09-09 14:54:05 -07:00
Zach Musgrave 7dba42276b Merge master 2021-09-09 14:51:37 -07:00
Aaron Son a08cb94df8 Merge remote-tracking branch 'origin/master' into daylon/up-version 2021-09-09 14:28:25 -07:00
Daylon Wilkins 841cce0ebc Bump Go version to 1.17 2021-09-09 14:23:23 -07:00
Aaron Son 4a5bb3cff2 go/cmd/dolt, go/utils/remotesrv: Fix using unbuffered channels with signal.Notify. 2021-09-09 14:19:36 -07:00
Zach Musgrave 8ae837f659 Fixed bug in setting the prompt after a delimiter statement 2021-09-09 14:18:23 -07:00
Aaron Son 7fe09e2c5c Fix some unbuffered channels passed to signal.Notify. 2021-09-09 12:17:40 -07:00
Aaron Son c59cbead58 go/libraries/doltcore/dbfactory: Change our GRPC remote DB factory to take the GRPC dialer through a param.
Prior to this change, we used to set a global variable in the dbfactory package
which referred to whichever DoltEnv was loaded most recently. It was racey and
it has pretty terrible semantics.
2021-09-09 12:08:22 -07:00
Zach Musgrave d72465e5cb PR feedback, and fixed bug in autocommit handling 2021-09-09 11:11:28 -07:00
Zach Musgrave 8d2a91571d Fixed signal lint errors 2021-09-09 10:46:54 -07:00
Zach Musgrave 44bab632a4 Merge branch 'zachmu/sql-context' of github.com:dolthub/dolt into zachmu/sql-context 2021-09-09 10:25:45 -07:00
Zach Musgrave e62c6b6e05 Use signal.NotifyContext instead of installing signal handlers manually 2021-09-09 10:01:19 -07:00
zachmu 074ba091f3 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-09-09 16:16:22 +00:00
Zach Musgrave 5bb6acb8af Merge master 2021-09-09 09:15:15 -07:00
Zach Musgrave ca14702839 Added an extension to Command to deal wtih signal handlers 2021-09-08 17:40:15 -07:00
Zach Musgrave 42dbf0e485 Give a new context to every query in the SQL shell. Unfortunately, SIGTERM still cancels the global parent context, so we need something better at the top level. 2021-09-08 17:20:11 -07:00
Brian Hendriks 775ac0af51 Import Performance and Garbage Generation improvements. 2021-09-08 14:52:42 -07:00
Daylon Wilkins 555c9a6eab Added escape-analysis script for Windows 2021-09-07 14:26:57 -07:00
AndyA 5748104208 Merge pull request #2098 from dolthub/andy/value-slice-contains-fix
/go/store/types: Don't compare `v` against itself
2021-09-07 12:44:02 -07:00
Andy Arthur 0173608146 don't compare v against itself 2021-09-07 12:05:36 -07:00
AndyA 4c50598203 Merge pull request #2097 from dolthub/andy/escape-analysis
/go/utils: Escape analysis annotation tool for Goland
2021-09-07 09:13:18 -07:00
Andy Arthur 20419853d4 added setup info 2021-09-06 12:16:19 -07:00
Andy Arthur 376b53c412 fixed up filewatcher output 2021-09-06 12:10:58 -07:00
Andy Arthur b415f30a59 added filter, sort, and uniq 2021-09-06 08:30:18 -07:00
Andy Arthur b4cb235836 oneliner for escape analysis 2021-09-05 19:05:57 -07:00
Aaron Son 4aaa526ab6 Merge pull request #2096 from dolthub/aaron/keyless-supports-partitions
go/libraries/doltcore/table: Support partitioned table iterators for keyless tables.
2021-09-03 15:13:47 -07:00
Aaron Son edb95935f7 go/libraries/doltcore/sqle/enginetest: TestScript: Skip some GROUP BY tests which do not actually work. 2021-09-03 13:10:04 -07:00
Aaron Son 27f926feff go/libraries/doltcore/table: Support partitioned table iterators for keyless tables. 2021-09-03 13:10:00 -07:00
Maximilian Hoffman 5339476283 RMariaDB mysql-integration-test (#2093)
* Add rmariadb test and deps

* Uncomment

* remove duplicate install

* Remove unnecessary imports

* Add isTRUE

* fix sneaky dbi bug

* Left hanging cleanup step from testin

* Add rmysql test

* Add mysql lib

* Fix equality check

* Add data.frame.StringsAsFactors to idiot-proof equality checks
2021-09-03 10:48:16 -07:00
Zach Musgrave 9bb89cb36b Merge pull request #2080 from dolthub/zachmu/logging
Changed logging format to take advantage of logger changes in gms
2021-09-02 12:11:45 -07:00
Aaron Son 032921b154 Merge pull request #2090 from dolthub/aaron/datetime-parse-YYYY-M-D
go.mod: Bump go-mysql-server to pick up date handling for YYYY-M-D format.
2021-09-02 12:00:00 -07:00
Zach Musgrave 92fc59b85b Merge branch 'master' into zachmu/logging 2021-09-02 11:31:32 -07:00
Aaron Son 8dda5a8eb5 go/go.mod: Sync go-mysql-server@master. 2021-09-02 11:00:51 -07:00
Aaron Son 7995467efb integration-tests/bats: Add some bats tests for YYYY-M-D timestamp/date formats. 2021-09-02 10:21:55 -07:00
Aaron Son 217301b171 go.mod: Bump go-mysql-server, pick up date handling for YYYY-M-D. 2021-09-01 20:40:58 -07:00
reltuk 6696c2ecdd [ga-bump-release] Update Dolt version to 0.28.2 and release v0.28.2 v0.28.2 2021-09-02 03:01:10 +00:00
Aaron Son f65e2d7254 Merge pull request #2086 from dolthub/aaron/bump-go-mysql-server-fix-prepared-writes
go/go.mod,integration-tests/mysql-client-tests: Bump go-mysql-server to pick up fix for prepared statement writes resultset metadata.
2021-09-01 18:43:44 -07:00
Aaron Son f88c4bee6c go/libraries/doltcore/sqle: Fix tests use of time.Local to run reliably in the presence of log formatting loading timezone data. 2021-09-01 17:04:32 -07:00