Commit Graph

1219 Commits

Author SHA1 Message Date
Eduardo Nunes
dfc8aa28f4 Ignore not available columns when applying column types
The given `columnLists` may not contain all columns available in the
given table. This patch prevents the code to fail. Before this patch the
code was panicking whenever it was trying to set a value into a `nil`
object, e.g. `columnList.GetColumn('non-existant').Type = SomeType`.

For some reason the application was not completely failing but as a
side-effect any column after the non-existant column would never get its
Type properly set.
2018-11-01 14:33:11 +01:00
Shlomi Noach
c32823c10a BIT datatype tests 2018-11-01 15:27:28 +02:00
Shlomi Noach
32f2b063d8
Merge pull request #652 from HaraldNordgren/go_versions
thank you
2018-10-21 14:25:42 +03:00
Harald Nordgren
967baf9e3c Bump Travis versions 2018-10-21 13:06:58 +02:00
Gillian Gunson
a93fccdd06
Merge branch 'master' into ggunson-shared-key-docs 2018-10-16 15:14:38 -07:00
Shlomi Noach
f41df8e609 v1.0.47 2018-10-16 11:50:37 +03:00
Shlomi Noach
0c37a6daee
Merge pull request #651 from github/test-throttle-file
localtests support throttle flag file
2018-10-16 11:42:37 +03:00
Shlomi Noach
02602302a0 more attempts at session time zone 2018-10-16 11:25:46 +03:00
Shlomi Noach
9512a2de40 forcinf UTC timezone 2018-10-16 10:30:19 +03:00
Shlomi Noach
b8e02df0fe reading original_sql_mode once 2018-10-16 10:22:59 +03:00
Shlomi Noach
789d247d83 localtests support throttle flag file 2018-10-16 09:47:30 +03:00
Gillian Gunson
70a4ce1cb2
Merge branch 'master' into ggunson-shared-key-docs 2018-10-15 21:15:24 -07:00
Gillian Gunson
b3cd0233c9
quick syntax edits 2018-10-15 21:15:13 -07:00
Gillian Gunson
600faf62af
added emphasis as requested by Shlomi 2018-10-15 20:47:37 -07:00
Shlomi Noach
9f81a23046
Merge pull request #650 from evaldasg/patch-1
Add sql snippets highlighting
2018-10-15 11:58:19 +03:00
Evaldas Grudzinskas
eb529065bf
Add sql snippets highlighting 2018-10-15 11:51:02 +03:00
Gillian Gunson
c1222a2416
Draft rewrite 2018-10-09 22:02:38 -07:00
Shlomi Noach
d5f0f011da
Merge pull request #641 from jacobbednarz/add-dry-run-env
Populate the hooks environment with dry run status
2018-10-04 08:04:29 +03:00
Shlomi Noach
60398e774f
Merge branch 'master' into add-dry-run-env 2018-10-02 14:08:08 +03:00
Shlomi Noach
2871843622
Merge pull request #644 from github/deadlock-rtries
Fix to retry logic in row copy
2018-10-02 08:11:59 +03:00
Shlomi Noach
7bd338faf7 Fix to retry logic in row copy 2018-09-20 10:49:21 +03:00
Jacob Bednarz
09a005d79e
Populate the env with dry run status
Updates the `applyEnvironmentVariables` function to populate whether or
not the current execution context is running as a dry run or not which
can then be used in hooks.
2018-09-18 14:41:26 +10:00
Shlomi Noach
17b170dd1f
Merge pull request #611 from wfxiang08/dev_copyrow_hangs
fix copyRowsFunc hangs bug
2018-09-17 09:33:06 +03:00
Shlomi Noach
97c1e72dbe
Merge branch 'master' into minor_changes 2018-09-17 08:58:04 +03:00
Shlomi Noach
695e32d41b
Merge branch 'master' into dev_copyrow_hangs 2018-09-17 08:42:03 +03:00
Shlomi Noach
1e067e5a37
Merge pull request #634 from github/gcp
Support for GCP (Google Cloud Platform)
2018-09-04 07:22:17 +03:00
Shlomi Noach
32f1cf1dbe Support for GCP (Google Cloud Platform) 2018-09-02 09:51:40 +03:00
钟越
ef686a4e7b Support database with underscore 2018-08-31 09:31:58 +08:00
wangfei
c7dff99a19 fix copyRowsFunc hangs bug 2018-07-26 03:02:12 +08:00
Shlomi Noach
d2726c77f8
Merge pull request #606 from ealter/patch-1
Fix a small typo in the documentation
2018-06-26 08:20:08 +03:00
Eliot Alter
441f6331fd
Fix a small typo in the documentation 2018-06-25 15:33:02 -07:00
Shlomi Noach
6524a15ed3 release 1.0.46 2018-05-28 07:49:51 +03:00
Shlomi Noach
80102dde89
Merge pull request #595 from github/support-generated-columns
Support for GENERATED (aka virtual) columns
2018-05-28 07:48:35 +03:00
Shlomi Noach
b93120413b
Merge branch 'master' into support-generated-columns 2018-05-27 23:25:57 +03:00
Shlomi Noach
582e44a293
Merge pull request #599 from github/build-packaging
Build packaging
2018-05-27 21:05:35 +03:00
Shlomi Noach
609890aec1 only create builddir for linux 2018-05-27 21:03:44 +03:00
Shlomi Noach
0454c5ecb0 do not delete during build 2018-05-27 21:02:00 +03:00
Shlomi Noach
7da0cbc270 /tmp/gh-ost-release 2018-05-27 20:59:58 +03:00
Shlomi Noach
33e5974549 working directory 2018-05-27 20:53:18 +03:00
Shlomi Noach
460b15d827 rpm and deb 2018-05-27 20:49:08 +03:00
Shlomi Noach
d20903e260 Package builds 2018-05-27 20:29:09 +03:00
MOON_CLJ
14eda7efe0 fix GetReplicationLag not used args 2018-05-23 13:13:25 +08:00
MOON_CLJ
21d455013e minor changes and typo correction 2018-05-23 13:13:25 +08:00
Shlomi Noach
2c6b79c4e7 test: add generated column 2018-05-22 14:09:48 +03:00
Shlomi Noach
5275ad9342 updated docs 2018-05-22 13:05:12 +03:00
Shlomi Noach
03b8dadda6 added generated column rename test 2018-05-22 12:55:57 +03:00
Shlomi Noach
db871b42c4 Support for GENERATED (aka virtual) columns 2018-05-22 12:36:52 +03:00
Shlomi Noach
bba8b257d1
Merge pull request #592 from github/changelog-table-exec-no-prepare
avoid prepared statements for changelog table
2018-05-22 08:25:46 +03:00
Shlomi Noach
dfeefed5dc avoid prepared statements for changelog table 2018-05-20 13:46:33 +03:00
Shlomi Noach
d37ad9c8d4
Merge pull request #539 from github/incorrect-datetime-1970
Incorrect datetime 1970
2018-05-20 12:11:42 +03:00