增加变量初始化

This commit is contained in:
suncan
2022-09-17 11:01:05 +08:00
parent 70e1801173
commit fcc814a3d6

View File

@ -2829,9 +2829,10 @@ Const* setValueToConstExpr(SetVariableExpr* set)
{ {
Const* result = NULL; Const* result = NULL;
Value* value; Value* value;
Datum val; /* initial value is null Const */
Oid typid; Datum val = (Datum)0;
int typelen; Oid typid = UNKNOWNOID;
int typelen = -2;
bool typebyval = false; bool typebyval = false;
struct config_generic* record = NULL; struct config_generic* record = NULL;