>From Janhavi Tripurwar <[email protected]>:

Janhavi Tripurwar has uploaded this change for review. ( 
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
---
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(-)



  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb 
refs/changes/65/21665/1

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: newchange
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Change-Id: I237bb7791d771325cdbaa933664bc30b640dc8eb
Gerrit-Change-Number: 21665
Gerrit-PatchSet: 1
Gerrit-Owner: Janhavi Tripurwar <[email protected]>

Reply via email to