Skip to content
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

information_schema.columns table incorrectly parsed for 5.5 versions #13

Open
guriandoro opened this issue Mar 30, 2018 · 1 comment
Open

Comments

@guriandoro
Copy link
Contributor

In mysql 5.5 versions, the information_schema.columns doesn't have the DATETIME_PRECISION column, so there were errors when trying to run against 5.5:

ERRO[0000] Cannot get table fields: sql: expected 19 destination arguments in Scan, not 20

The following function should be changed (PR in progress for this):

https://github.com/Percona-Lab/mysql_random_data_load/blob/master/tableparser/tableparser.go#L213

@svetasmirnova
Copy link

The same error happens when I try to load data into MariaDB 10.2.27 instance. I believe it will fail for other versions of MariaDB too.

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

No branches or pull requests

2 participants