This is an automated email from the ASF dual-hosted git repository.
dlych pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb-bad.git
The following commit(s) were added to refs/heads/master by this push:
new 27a9a3c [NO ISSUE][BAD] Coordinated change for Identifier cleanup
27a9a3c is described below
commit 27a9a3cdd64f8df32bfc7f7e1a6322414a7663e9
Author: Dmitry Lychagin <[email protected]>
AuthorDate: Thu Oct 3 18:10:45 2019 -0700
[NO ISSUE][BAD] Coordinated change for Identifier cleanup
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Coordinated change for Identifier cleanup
Change-Id: I3675f2183308e33fa95bc560e822e655878d7400
---
asterix-bad/src/main/resources/lang-extension/lang.txt | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/asterix-bad/src/main/resources/lang-extension/lang.txt
b/asterix-bad/src/main/resources/lang-extension/lang.txt
index 7456cef..58240fd 100644
--- a/asterix-bad/src/main/resources/lang-extension/lang.txt
+++ b/asterix-bad/src/main/resources/lang-extension/lang.txt
@@ -82,7 +82,7 @@ Statement DropStatement() throws ParseException:
}
| "broker" pairId = QualifiedName() ifExists = IfExists()
{
- stmt = new BrokerDropStatement(pairId.first, pairId.second, ifExists);
+ stmt = new BrokerDropStatement(pairId.first, pairId.second, ifExists);
}
| "procedure" funcSig = FunctionSignature() ifExists = IfExists()
{
@@ -244,10 +244,7 @@ Statement ChannelSubscriptionStatement() throws
ParseException:
}
| "unsubscribe" id = StringLiteral() <FROM> nameComponents = QualifiedName()
{
- VariableExpr varExp = new VariableExpr();
- VarIdentifier var = new VarIdentifier();
- varExp.setVar(var);
- var.setValue("$subscriptionPlaceholder");
+ VariableExpr varExp = new VariableExpr(new
VarIdentifier("$subscriptionPlaceholder"));
getCurrentScope().addNewVarSymbolToScope(varExp.getVar());
stmt = new ChannelUnsubscribeStatement(varExp, nameComponents.first,
nameComponents.second, id, getVarCounter());
}