Vallishp opened a new pull request, #40739:
URL: https://github.com/apache/doris/pull/40739

   ## Proposed changes
   
   Issue Number: close #xxx
   
   support display previous query id.
   
   mysql> select LAST_QUERY_ID();
   No connection. Trying to reconnect...
   Connection id:    0
   Current database: *** NONE ***
   
   +-----------------+
   | last_query_id() |
   +-----------------+
   | Not Available   |
   +-----------------+
   1 row in set (0.08 sec)
   
   mysql> select LAST_QUERY_ID();
   +-----------------------------------+
   | last_query_id()                   |
   +-----------------------------------+
   | e133f2641e0a411c-b73f1f6c67bedcf9 |
   +-----------------------------------+
   1 row in set (0.01 sec)
   
   mysql> 
   
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to