projects
/
online_analyze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b84753
)
turn off reread flag in case of truncation
author
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 13 Apr 2017 15:21:22 +0000
(18:21 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 13 Apr 2017 15:21:22 +0000
(18:21 +0300)
online_analyze.c
patch
|
blob
|
history
diff --git
a/online_analyze.c
b/online_analyze.c
index
22c43e6
..
b710d47
100644
(file)
--- a/
online_analyze.c
+++ b/
online_analyze.c
@@
-370,9
+370,6
@@
makeAnalyze(Oid relOid, CmdKind operation, int64 naffected)
if (relOid == InvalidOid)
return;
- elog(NOTICE,"makeAnalyze operation: %d naffected: %d",
- operation, (int32)naffected);
-
if (naffected == 0)
/* return if there is no changes */
return;
@@
-565,6
+562,7
@@
makeAnalyze(Oid relOid, CmdKind operation, int64 naffected)
break;
case CK_TRUNCATE:
case CK_FASTTRUNCATE:
+ rstat->rereadStat = false;
rstat->n_tuples = 0;
break;
default: