diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2017-12-25 13:40:38 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2017-12-26 15:24:48 +0300 |
commit | b9bc8bbdc0fa2e9a3fa43dfef3ded9d8c95f70bd (patch) | |
tree | 98730803cfd6426f8aad36894c93313b70d1710a /sql/sp_cache.cc | |
parent | d8aabb44b509da890d40d185c7b556ed47772108 (diff) | |
download | mariadb-git-b9bc8bbdc0fa2e9a3fa43dfef3ded9d8c95f70bd.tar.gz |
SQL: SP forced invalidate via 0
Invalidate via ULONG_MAX was wrong because sp_cache_flush_obsolete()
works incorrectly in this case.
Fixes MDEV-14749
Diffstat (limited to 'sql/sp_cache.cc')
-rw-r--r-- | sql/sp_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_cache.cc b/sql/sp_cache.cc index cf890f316bc..0fd6fe92d1f 100644 --- a/sql/sp_cache.cc +++ b/sql/sp_cache.cc @@ -23,7 +23,7 @@ #include "sp_head.h" static mysql_mutex_t Cversion_lock; -static ulong volatile Cversion= 0; +static ulong volatile Cversion= 1; /* |