File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed
src/main/java/com/alibaba/innodb/java/reader/page/index Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 88 <groupId >com.alibaba</groupId >
99 <artifactId >innodb-java-reader-parent</artifactId >
1010 <relativePath >../pom.xml</relativePath >
11- <version >1.0.0-SNAPSHOT </version >
11+ <version >1.0.0</version >
1212 </parent >
1313
1414 <groupId >com.alibaba</groupId >
1515 <artifactId >innodb-heatmap</artifactId >
16- <version >1.0.0-SNAPSHOT </version >
16+ <version >1.0.0</version >
1717 <packaging >jar</packaging >
1818 <name >innodb-heatmap</name >
1919 <description >innodb-heatmap</description >
Original file line number Diff line number Diff line change 88 <groupId >com.alibaba</groupId >
99 <artifactId >innodb-java-reader-parent</artifactId >
1010 <relativePath >../pom.xml</relativePath >
11- <version >1.0.0-SNAPSHOT </version >
11+ <version >1.0.0</version >
1212 </parent >
1313
1414 <groupId >com.alibaba</groupId >
1515 <artifactId >innodb-java-reader-cli</artifactId >
16- <version >1.0.0-SNAPSHOT </version >
16+ <version >1.0.0</version >
1717 <packaging >jar</packaging >
1818 <name >innodb-java-reader-cli</name >
1919 <description >innodb-java-reader-cli</description >
Original file line number Diff line number Diff line change 88 <groupId >com.alibaba</groupId >
99 <artifactId >innodb-java-reader-parent</artifactId >
1010 <relativePath >../pom.xml</relativePath >
11- <version >1.0.0-SNAPSHOT </version >
11+ <version >1.0.0</version >
1212 </parent >
1313
1414 <groupId >com.alibaba</groupId >
1515 <artifactId >innodb-java-reader-demo</artifactId >
16- <version >1.0.0-SNAPSHOT </version >
16+ <version >1.0.0</version >
1717 <packaging >jar</packaging >
1818 <name >innodb-java-reader-demo</name >
1919 <description >innodb-java-reader-demo</description >
Original file line number Diff line number Diff line change 88 <groupId >com.alibaba</groupId >
99 <artifactId >innodb-java-reader-parent</artifactId >
1010 <relativePath >../pom.xml</relativePath >
11- <version >1.0.0-SNAPSHOT </version >
11+ <version >1.0.0</version >
1212 </parent >
1313
1414 <groupId >com.alibaba</groupId >
1515 <artifactId >innodb-java-reader</artifactId >
16- <version >1.0.0-SNAPSHOT </version >
16+ <version >1.0.0</version >
1717 <packaging >jar</packaging >
1818 <name >innodb-java-reader</name >
1919 <description >innodb-java-reader</description >
Original file line number Diff line number Diff line change @@ -85,22 +85,22 @@ public boolean isRootPage() {
8585 * Get used bytes in a page. For example, given a page like below, the used bytes is
8686 * <code>1000 + 376 + 8 - 240 = 1144</code>
8787 * <pre>
88- * 0 +----------------------+ <= page offset 0
88+ * 0 +----------------------+ ... page offset 0
8989 * | FilHeader |
9090 * 38 +----------------------+
9191 * 138 | row 1 |
9292 * 400 | row 2 |
93- * 660 | row 3 (mark deleted) | <= Deleted record will be counted as free space
93+ * 660 | row 3 (mark deleted) | ... Deleted record will be counted as free space
9494 * 800 | row 4 |
95- * 920 | row 5 | <= Heap top position. The byte offset of the "end" of the currently used space
95+ * 920 | row 5 | ... Heap top position. The byte offset of the "end" of the currently used space
9696 * 1000 +----------------------+
9797 * | |
98- * | | <= Free space
98+ * | | ... Free space
9999 * 16000 +----------------------+
100100 * | Directory slots |
101101 * 16376 +----------------------+
102102 * | FilTrailer |
103- * 16384 +----------------------+ <= page offset SIZE_OF_PAGE, usually 16KiB
103+ * 16384 +----------------------+ ... page offset SIZE_OF_PAGE, usually 16KiB
104104 * </pre>
105105 *
106106 * @return used bytes
Original file line number Diff line number Diff line change 66 <modelVersion >4.0.0</modelVersion >
77 <groupId >com.alibaba</groupId >
88 <artifactId >innodb-java-reader-parent</artifactId >
9- <version >1.0.0-SNAPSHOT </version >
9+ <version >1.0.0</version >
1010 <name >innodb-java-reader-parent</name >
1111 <packaging >pom</packaging >
1212 <description >A library and command-line tool to access MySQL InnoDB data file directly in Java</description >
You can’t perform that action at this time.
0 commit comments