~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to sql/sp_cache.cc

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
}
211
211
 
212
212
 
 
213
/**
 
214
  Return the current version of the cache.
 
215
*/
 
216
 
 
217
ulong sp_cache_version(sp_cache **cp)
 
218
{
 
219
  sp_cache *c= *cp;
 
220
  if (c)
 
221
    return c->version;
 
222
  return 0;
 
223
}
 
224
 
 
225
 
213
226
/*************************************************************************
214
227
  Internal functions 
215
228
 *************************************************************************/