summaryrefslogtreecommitdiff
path: root/strings/string.doc
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2003-10-21 12:08:35 +0200
committerunknown <pem@mysql.comhem.se>2003-10-21 12:08:35 +0200
commit562a04d593ca9a179b851e1d71d30e764e55f7ad (patch)
tree2a69a7aa7527c9093f6156dee7a663e6404c913f /strings/string.doc
parent2b1dc5f35d5bf773378a36a14399987635be7127 (diff)
downloadmariadb-git-562a04d593ca9a179b851e1d71d30e764e55f7ad.tar.gz
WL#1265: Fix proper ALTER/DROP support in the SP cache.
New sp_cache C API. When an SP is dropped, old caches (in other threads) become invalid and are cleared. Also, the caches in THD are only created on demand. Docs/sp-imp-spec.txt: Brough the SP cache docs up-to-date. sql/mysqld.cc: Initialize SP cache. sql/sp.cc: New C API for SP cache. sql/sp_cache.cc: New C API for sp_cache. The class sp_cache is still used, but not directly. The C functions makes takes care of updating caches when SPs are dropped. (This is done in the simplest possible way, by simply detecting drops and then clear all old caches.) The API is also designed so that the sp_cache is created on demand. sql/sp_cache.h: New C API for sp_cache. The class sp_cache is still used, but not directly. The C functions makes takes care of updating caches when SPs are dropped. The API is also designed so that the sp_cache is created on demand. sql/sql_class.cc: The new sp_cache API creates the caches on demand, to avoid allocating it when it's not needed.
Diffstat (limited to 'strings/string.doc')
0 files changed, 0 insertions, 0 deletions