-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lossing fractional seconds for datetime(3) when applying bin log #300
Comments
@jessicalu2016 Can you please add your table schema? |
@jessicalu2016 I can see |
Related: go-mysql-org/go-mysql#89 |
@jessicalu2016 are you able to build and test #301 ? Should solve your issue |
@shlomi-noach I got following error to build the source. Could you provide me instructions what I need to set up to run ./build.sh? I've got go installed and hello world test fine. thanks!
|
@jessicalu2016 you probably have an older |
or, otherwise, your |
@shlomi-noach go version is 1.6.2, and here's my go related setting. which dir should GOPATH pointing to? thanks!
|
so this is the nuisance about cd /Users/jessicalu/
mkdir -p go/src/github.com/github/
export GOPATH=/Users/jessicalu/go
mv Projects/gh-ost go/src/github.com/github/
cd go/src/github.com/github/
./build.sh |
Whoops, and: |
@shlomi-noach it works perfectly! Thanks for fast replies and the fix! appreciated! |
cool. Will give this more testing before merging. |
closed by #301 |
Hi Guys,
I was testing on replica (--alter="engine=innodb") and found out that columns defined as datetime(3) lost fractional seconds after migration. e.g "2016-10-31 13:25:40.834" becomes "2016-10-31 13:25:40.000". looks like gh-ost zero out the fractional seconds? Am I missing anything?
Thanks in advance!
The text was updated successfully, but these errors were encountered: