Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-18897

InnoDB indexes are inconsistent with what defined in .frm for table

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.4.3
    • 10.4.4
    • Server
    • None
    • Docker version: 17.06.0-ce, build 02c1d87
      MariaDB version: mysqld 10.4.3-MariaDB-1:10.4.3+maria~bionic

    Description

      STR
      1. Execute in console

      create table host
      (
      	id int not null
      		primary key,
      	name varchar(20) null
      );
       
      create table client
      (
      	id int not null
      		primary key,
      	name varchar(20) null,
      	host_id int null,
      	constraint id_name_idx1_u
      		unique (id, name) using hash,
      	constraint client_ibfk_1
      		foreign key (host_id) references host (id)
      );
       
      create index host_id
      	on client (host_id);
      

      Expected:
      Index created

      Actual:
      Server crash. My IDE shows me

      [08] (conn=9) unexpected end of stream, read 0 bytes from 4 (socket was closed by server) java.io.EOFException: unexpected end of stream, read 0 bytes from 4 (socket was closed by server)

      Logs in maria_crash_log.log & docker_inspect.txt

      Attachments

        Issue Links

          Activity

            People

              sachin.setiya.007 Sachin Setiya (Inactive)
              chernov vasilii chernov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.