COPY_NODE_FIELD(paramExecTypes);
COPY_NODE_FIELD(utilityStmt);
COPY_LOCATION_FIELD(stmt_location);
- COPY_LOCATION_FIELD(stmt_len);
+ COPY_SCALAR_FIELD(stmt_len);
return newnode;
}
COPY_NODE_FIELD(constraintDeps);
COPY_NODE_FIELD(withCheckOptions);
COPY_LOCATION_FIELD(stmt_location);
- COPY_LOCATION_FIELD(stmt_len);
+ COPY_SCALAR_FIELD(stmt_len);
return newnode;
}
COPY_NODE_FIELD(stmt);
COPY_LOCATION_FIELD(stmt_location);
- COPY_LOCATION_FIELD(stmt_len);
+ COPY_SCALAR_FIELD(stmt_len);
return newnode;
}
COMPARE_NODE_FIELD(constraintDeps);
COMPARE_NODE_FIELD(withCheckOptions);
COMPARE_LOCATION_FIELD(stmt_location);
- COMPARE_LOCATION_FIELD(stmt_len);
+ COMPARE_SCALAR_FIELD(stmt_len);
return true;
}
{
COMPARE_NODE_FIELD(stmt);
COMPARE_LOCATION_FIELD(stmt_location);
- COMPARE_LOCATION_FIELD(stmt_len);
+ COMPARE_SCALAR_FIELD(stmt_len);
return true;
}
WRITE_NODE_FIELD(paramExecTypes);
WRITE_NODE_FIELD(utilityStmt);
WRITE_LOCATION_FIELD(stmt_location);
- WRITE_LOCATION_FIELD(stmt_len);
+ WRITE_INT_FIELD(stmt_len);
}
/*
WRITE_NODE_FIELD(subpath);
WRITE_NODE_FIELD(limitOffset);
WRITE_NODE_FIELD(limitCount);
+ WRITE_ENUM_FIELD(limitOption, LimitOption);
}
static void
WRITE_NODE_FIELD(constraintDeps);
WRITE_NODE_FIELD(withCheckOptions);
WRITE_LOCATION_FIELD(stmt_location);
- WRITE_LOCATION_FIELD(stmt_len);
+ WRITE_INT_FIELD(stmt_len);
}
static void
READ_NODE_FIELD(constraintDeps);
READ_NODE_FIELD(withCheckOptions);
READ_LOCATION_FIELD(stmt_location);
- READ_LOCATION_FIELD(stmt_len);
+ READ_INT_FIELD(stmt_len);
READ_DONE();
}
READ_NODE_FIELD(paramExecTypes);
READ_NODE_FIELD(utilityStmt);
READ_LOCATION_FIELD(stmt_location);
- READ_LOCATION_FIELD(stmt_len);
+ READ_INT_FIELD(stmt_len);
READ_DONE();
}