Skip to content

Attempting to recreate tables that already exist with DatabaseMatcher #72

@JustTalDevelops

Description

@JustTalDevelops
Class.forName("com.mysql.cj.jdbc.Driver").newInstance();

var conn = DriverManager.getConnection(...);

imageMatcher = new DatabaseImageMatcher(conn);
imageMatcher.addHashingAlgorithm(hasher, 1);

Doing this first causes the library to throw the following exception:

java.sql.SQLSyntaxErrorException: Table 'WaveletHash89644008' already exists

On subsequent restarts, this also seems to happen on the main table:

java.sql.SQLSyntaxErrorException: Table 'ImageHasher' already exists

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions