Skip to content

Commit

Permalink
Release 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
neoremind committed Jun 6, 2020
1 parent c8207ac commit ca1513d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Supported column types are listed below. Java type mapping refer to [docs](docs/
<dependency>
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader</artifactId>
<version>1.0.6</version>
<version>1.0.7</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions innodb-heatmap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0.6</version>
<version>1.0.7</version>
</parent>

<groupId>com.alibaba.database</groupId>
<artifactId>innodb-heatmap</artifactId>
<version>1.0.6</version>
<version>1.0.7</version>
<packaging>jar</packaging>
<name>innodb-heatmap</name>
<description>innodb-heatmap</description>
Expand Down
4 changes: 2 additions & 2 deletions innodb-java-reader-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0.6</version>
<version>1.0.7</version>
</parent>

<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-cli</artifactId>
<version>1.0.6</version>
<version>1.0.7</version>
<packaging>jar</packaging>
<name>innodb-java-reader-cli</name>
<description>innodb-java-reader-cli</description>
Expand Down
4 changes: 2 additions & 2 deletions innodb-java-reader-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0.6</version>
<version>1.0.7</version>
</parent>

<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-demo</artifactId>
<version>1.0.6</version>
<version>1.0.7</version>
<packaging>jar</packaging>
<name>innodb-java-reader-demo</name>
<description>innodb-java-reader-demo</description>
Expand Down
4 changes: 2 additions & 2 deletions innodb-java-reader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0.6</version>
<version>1.0.7</version>
</parent>

<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader</artifactId>
<version>1.0.6</version>
<version>1.0.7</version>
<packaging>jar</packaging>
<name>innodb-java-reader</name>
<description>innodb-java-reader</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,11 @@ public SingleEnumLiteral readFrom(SliceInput input, Column column) {
? input.readUnsignedShort() : (int) input.readByte();
checkPositionIndex(ordinal, enums.size(), "Ordinal " + ordinal
+ " is out of range for " + enums);
// 0 can not be inserted into table, enum ordinal should start from 1,
// but sometimes this can be inserted successfully with warning message in MySQL.
if (ordinal == 0) {
return new SingleEnumLiteral(ordinal, Symbol.EMPTY);
}
return new SingleEnumLiteral(ordinal, enums.get(ordinal - 1));
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-parent</artifactId>
<version>1.0.6</version>
<version>1.0.7</version>
<name>innodb-java-reader-parent</name>
<packaging>pom</packaging>
<description>A library and command-line tool to access MySQL InnoDB data file directly in Java</description>
Expand Down

0 comments on commit ca1513d

Please sign in to comment.