File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
packages/transform/src/transformers Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -554,8 +554,7 @@ export class V15ToV16Transformer {
554554 const parentTypes = childContext . parentNodeTypes || [ ] ;
555555
556556 if ( parentTypes . includes ( 'TypeName' ) ||
557- ( parentTypes . includes ( 'DefineStmt' ) && ! ( context as any ) . defElemName ) ||
558- ( parentTypes . includes ( 'InsertStmt' ) && parentTypes . includes ( 'SelectStmt' ) && parentTypes . includes ( 'List' ) ) ) {
557+ ( parentTypes . includes ( 'DefineStmt' ) && ! ( context as any ) . defElemName ) ) {
559558 result . ival = this . Integer ( result . ival as any , childContext ) . Integer ;
560559 }
561560 } else {
@@ -919,9 +918,6 @@ export class V15ToV16Transformer {
919918 result . ival = - 1 ; // v14-to-v15 line 473: !defElemName && (ival === -1 || ival === 0), default to -1
920919 }
921920 }
922- else if ( parentTypes . includes ( 'InsertStmt' ) && parentTypes . includes ( 'SelectStmt' ) && parentTypes . includes ( 'List' ) && parentTypes . includes ( 'A_Const' ) ) {
923- result . ival = - 3 ; // Based on alter_table test failure pattern for INSERT VALUES
924- }
925921 }
926922
927923 return { Integer : result } ;
You can’t perform that action at this time.
0 commit comments