Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-474

Cannot parse NOT NULL COLLATE in DDL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.7.0
    • 0.6.2
    • mysql-connector
    • None

      MySQL connector fails on DDL changes when COLLATE comes after NOT NULL constraint.

      CREATE TABLE c1 (
        pk INT PRIMARY KEY, 
        v1 CHAR(36) NOT NULL COLLATE utf8_unicode_ci
      );
      

      I am going to send a merge request with a fix and a unit test that demonstrates the error.

              Unassigned Unassigned
              medvekoma Attila Szucs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: