From b3e25150e96a2a710e826789d3fb762c8a446486 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Fri, 1 Jan 2021 18:52:58 +0100 Subject: [PATCH] fix --- packages/tools/src/splitPostgresQuery.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/tools/src/splitPostgresQuery.ts b/packages/tools/src/splitPostgresQuery.ts index 39811fc3..4d71ee07 100644 --- a/packages/tools/src/splitPostgresQuery.ts +++ b/packages/tools/src/splitPostgresQuery.ts @@ -195,14 +195,14 @@ function handleKeyTokenFindResult(context: SplitExecutionContext, findResult: Fi read(context, findResult.expIndex, findResult.nextIndex); publishStatement(context); break; + // case BACKTICK: case SINGLE_QUOTE: - case DOUBLE_QUOTE: - // case BACKTICK: { - // read(context, findResult.nextIndex); - // const findQuoteResult = findEndQuote(context.unread, findResult.exp); - // read(context, findQuoteResult.nextIndex, undefined, false); - // break; - // } + case DOUBLE_QUOTE: { + read(context, findResult.nextIndex); + const findQuoteResult = findEndQuote(context.unread, findResult.exp); + read(context, findQuoteResult.nextIndex, undefined, false); + break; + } case DOUBLE_DASH_COMMENT_START: { if (context.retainComments) { read(context, findResult.nextIndex);