mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(Microsoft SQL Node): Fix "Maximum call stack size exceeded" error on too many rows (#8334)
This commit is contained in:
committed by
GitHub
parent
c921665f9a
commit
bb2be8d705
@@ -248,7 +248,6 @@ export class MicrosoftSql implements INodeType {
|
||||
const pool = configurePool(credentials);
|
||||
await pool.connect();
|
||||
|
||||
const returnItems: INodeExecutionData[] = [];
|
||||
let responseData: IDataObject | IDataObject[] = [];
|
||||
|
||||
const items = this.getInputData();
|
||||
@@ -327,12 +326,11 @@ export class MicrosoftSql implements INodeType {
|
||||
|
||||
const itemData = generatePairedItemData(items.length);
|
||||
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
const returnItems = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData),
|
||||
{ itemData },
|
||||
);
|
||||
|
||||
returnItems.push(...executionData);
|
||||
return [returnItems];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user