Commit 66eedec
Fix analyze paritioned table in somecase will coredump.
Fix leaf_parts_analyzed will return false directly without execute analyze when
reltuples is 0 and relpages is 0 that means the table is an empty partition table.
Authored-by: Zhang Wenchao <zhangwenchao@apache.org>1 parent b32042d commit 66eedec
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1252 | 1252 | | |
1253 | 1253 | | |
1254 | 1254 | | |
| 1255 | + | |
1255 | 1256 | | |
1256 | 1257 | | |
1257 | | - | |
| 1258 | + | |
1258 | 1259 | | |
1259 | 1260 | | |
1260 | 1261 | | |
| |||
0 commit comments