Skip to content

information_schema.columns table incorrectly parsed for 5.5 versions #13

@guriandoro

Description

@guriandoro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions