mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
BUG#12532: Added more memory in malloc for slave query cache
sql/log_event.cc: Added memory to malloc sql/sql_cache.cc: Added comment
This commit is contained in:
@@ -923,6 +923,10 @@ end:
|
||||
0 The query was cached and user was sent the result.
|
||||
-1 The query was cached but we didn't have rights to use it.
|
||||
No error is sent to the client yet.
|
||||
|
||||
NOTE
|
||||
This method requires that sql points to allocated memory of size:
|
||||
tot_length= query_length + thd->db_length + 1 + QUERY_CACHE_FLAGS_SIZE;
|
||||
*/
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user