增加变量初始化

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;
Value* value;
Datum val;
Oid typid;
int typelen;
/* initial value is null Const */
Datum val = (Datum)0;
Oid typid = UNKNOWNOID;
int typelen = -2;
bool typebyval = false;
struct config_generic* record = NULL;