imay opened a new issue #739: Returned error code isn't correct URL: https://github.com/apache/incubator-doris/issues/739 **Describe the bug** When a query is executed timeout, some other error code is returned. **To Reproduce** Steps to reproduce the behavior: 1. `use xxx`; xxx is a non-existed db, this will return with error code `ERROR 1049 (42000)` 2. `execute a timeout query`, this will return with error code `ERROR 1049 (42000)` other than `ERROR 1064 (HY000)` which is supposed to be. This is because we don't reset `ErrorCode` in `QueryState`. And may be the cause of #736
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
