Bug #95576 | MySQL 8.0.16 partition table report error log | ||
---|---|---|---|
Submitted: | 30 May 2019 12:04 | Modified: | 6 Jun 2019 12:56 |
Reporter: | Zhao Jianwei | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 8.0.16 | OS: | Red Hat |
Assigned to: | CPU Architecture: | Any |
[30 May 2019 12:04]
Zhao Jianwei
[30 May 2019 12:06]
Zhao Jianwei
test case
Attachment: t.test (application/octet-stream, text), 316 bytes.
[30 May 2019 12:10]
Zhao Jianwei
It‘s on linux platform.
[30 May 2019 12:20]
MySQL Verification Team
Hello Zhao Jianwei, Thank you for the report and test case. regards, Umesh
[31 May 2019 3:45]
Ze Yang
The code on Linux, the PART_SEPARATOR is #P. But now the partition table file use #p. May be this would have many influence. storage/innobase/include/univ.i 712 #ifdef _WIN32 713 constexpr char PART_SEPARATOR[PART_SEPARATOR_LEN + 1] = "#p#"; 714 constexpr char SUB_PART_SEPARATOR[SUB_PART_SEPARATOR_LEN + 1] = "#sp#"; 715 #else 716 constexpr char PART_SEPARATOR[PART_SEPARATOR_LEN + 1] = "#P#"; 717 constexpr char SUB_PART_SEPARATOR[SUB_PART_SEPARATOR_LEN + 1] = "#SP#"; 718 #endif /* _WIN32 */ storage/innobase/handler/ha_innodb.cc 21152 /* For partition table, remove the partition name and use the 21153 "main" table name to build the template */ 21154 #ifdef _WIN32 21155 char *is_part = strstr(tbname, "#p#"); 21156 #else 21157 char *is_part = strstr(tbname, "#P#"); 21158 #endif /* _WIN32 */
[6 Jun 2019 12:56]
Erlend Dahl
Duplicate of Bug#94519 Wrong messages in error-log when using partition with lower-case-table-names=1