>From Janhavi Tripurwar <[email protected]>:

Janhavi Tripurwar has submitted this change. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21665?usp=email )

Change subject: [ASTERIXDB-3593]: update multi-statement error message
......................................................................

[ASTERIXDB-3593]: update multi-statement error message

Clarify message when multiple statements are executed
while disabled.

Change-Id: I237bb7791d771325cdbaa933664bc30b640dc8eb
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21665
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
Reviewed-by: Janhavi Tripurwar <[email protected]>
Tested-by: Jenkins <[email protected]>
---
M asterixdb/asterix-app/src/test/resources/runtimets/sqlpp_queries.xml
M asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins: Verified; Verified
  Janhavi Tripurwar: Looks good to me, but someone else must approve
  Murtadha Hubail: Looks good to me, approved

Objections:
  Anon. E. Moose #1000171: Violations found




diff --git 
a/asterixdb/asterix-app/src/test/resources/runtimets/sqlpp_queries.xml 
b/asterixdb/asterix-app/src/test/resources/runtimets/sqlpp_queries.xml
index a635411..0fc3f5a 100644
--- a/asterixdb/asterix-app/src/test/resources/runtimets/sqlpp_queries.xml
+++ b/asterixdb/asterix-app/src/test/resources/runtimets/sqlpp_queries.xml
@@ -103,7 +103,7 @@
     <test-case FilePath="api">
       <compilation-unit name="multi-statement">
         <output-dir compare="Text">multi-statement</output-dir>
-        <expected-error>ASX0035: Unsupported multiple 
statements</expected-error>
+        <expected-error>ASX0035: Multiple statements are not allowed when the 
request parameter 'multi-statement' is false</expected-error>
         <expected-error>ASX1259: async execution is not supported for a 
request with multiple statements</expected-error>
         <!-- both rejections are decisions about the request, so neither names 
a source location -->
         <source-location>false</source-location>
diff --git 
a/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties 
b/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties
index 0ff4d5a..4cc88a1 100644
--- a/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties
+++ b/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties
@@ -70,7 +70,7 @@
 31 = Invalid type-casting math function: %1$s for converting %2$s to %3$s
 32 = Cannot execute request, cluster is %1$s
 33 = Node is not registered with the CC
-35 = Unsupported multiple statements.
+35 = Multiple statements are not allowed when the request parameter 
'multi-statement' is false
 36 = Cannot compare non-primitive values
 38 = Input contains different list types
 39 = Expected integer value, got %1$s

--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21665?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Change-Id: I237bb7791d771325cdbaa933664bc30b640dc8eb
Gerrit-Change-Number: 21665
Gerrit-PatchSet: 2
Gerrit-Owner: Janhavi Tripurwar <[email protected]>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Janhavi Tripurwar <[email protected]>
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Michael Blow <[email protected]>
Gerrit-Reviewer: Murtadha Hubail <[email protected]>

Reply via email to