提交 74bd93d5 编写于 作者: V Vadim B. Mikheev

Not understandable fix of strange bug in vacuum statistic functions.

上级 83978e1e
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.20 1997/02/18 04:13:57 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.21 1997/03/06 11:41:09 vadim Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -1633,8 +1633,8 @@ vc_bucketcpy(AttributeTupleForm attr, Datum value, Datum *bucket, int16 *bucket_
if (*bucket_len != 0)
pfree(DatumGetPointer(*bucket));
*bucket = PointerGetDatum(palloc(len));
*bucket_len = len;
}
*bucket_len = len;
memmove(DatumGetPointer(*bucket), DatumGetPointer(value), len);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册