提交 48f3ddf9 编写于 作者: B Bruce Momjian

Fix ecpg_sqlca_key_destructor to return void.

上级 b76c536e
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.19 2004/03/14 12:16:30 meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.20 2004/03/14 14:47:33 momjian Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
......@@ -118,7 +118,7 @@ ECPGinit(const struct connection * con, const char *connection_name, const int l
}
#ifdef ENABLE_THREAD_SAFETY
static void *ecpg_sqlca_key_destructor(void *arg)
static void ecpg_sqlca_key_destructor(void *arg)
{
if( arg != NULL )
free(arg); /* sqlca structure allocated in ECPGget_sqlca */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册