fix(basic.gblib): Allow MERGE keyword in storage #380. @othonlima
This commit is contained in:
parent
1bf2f01f8f
commit
a81f86db9e
1 changed files with 6 additions and 1 deletions
|
@ -2287,8 +2287,13 @@ export class SystemKeywords {
|
|||
|
||||
let value;
|
||||
Object.keys(row).forEach(e => {
|
||||
|
||||
if (columnName.toLowerCase() === e.toLowerCase()) {
|
||||
value = row[e];
|
||||
if (typeof (value) === 'string') {
|
||||
value = value.substring(0, fieldsSizes[j]);
|
||||
}
|
||||
|
||||
columnNameFound = true;
|
||||
}
|
||||
});
|
||||
|
@ -2346,7 +2351,7 @@ export class SystemKeywords {
|
|||
|
||||
let value = row[p];
|
||||
if (typeof (value) === 'string') {
|
||||
value = value.substring(0, fieldsSizes[j]-1);
|
||||
value = value.substring(0, fieldsSizes[j]);
|
||||
}
|
||||
|
||||
fieldsValues.push(value);
|
||||
|
|
Loading…
Add table
Reference in a new issue