mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-7011: MAX_STATEMENT_TIME has no effect in a procedure after a previous successful statement
Do not reset timer inside stored procedures and functions.
This commit is contained in:
@ -3966,6 +3966,8 @@ public:
|
||||
void reset_query_timer()
|
||||
{
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
if (spcont || in_sub_stmt || slave_thread)
|
||||
return;
|
||||
if (!query_timer.expired)
|
||||
thr_timer_end(&query_timer);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user