Skip to content

TestLongData fails do to changed MySQL server on Travis #660

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

Closed
julienschmidt opened this issue Sep 12, 2017 · 1 comment
Closed

TestLongData fails do to changed MySQL server on Travis #660

julienschmidt opened this issue Sep 12, 2017 · 1 comment
Milestone

Comments

@julienschmidt
Copy link
Member

Issue description

An old test started to fail on Travis. It seems like we need to adjust innodb_log_file_size.

Error log

--- FAIL: TestLongData (0.37s)

	driver_test.go:155: error on exec [query too large to print]: Error 1118: The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size. Increase the redo log size using innodb_log_file_size.
@julienschmidt julienschmidt added this to the v1.4 milestone Sep 12, 2017
@methane
Copy link
Member

methane commented Sep 12, 2017

mysql/driver_test.go

Lines 975 to 978 in 5622634

// don't get too ambitious
if maxAllowedPacketSize > 1<<25 {
maxAllowedPacketSize = 1 << 25
}

Maybe, we should decrease this size.

julienschmidt added a commit that referenced this issue Sep 13, 2017
julienschmidt added a commit that referenced this issue Sep 14, 2017
* travis: test with Go 1.9

* travis: adjust MySQL config

Fixes #660
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants