1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00
Files
mariadb/sql
unknown 57c2f22a54 Small cleanup in code handling stored routines/table prelocking.
Use lazy initialization for Query_tables_list::sroutines hash.
This step should significantly decrease amount of memory consumed
by stored routines as we no longer will allocate chunk of memory
required for this HASH for each statement in routine.


include/hash.h:
  Introduced auxillary hash_init_opt() macro which simplifies
  lazy initialization of HASH objects.
sql/sp.cc:
  Use lazy initialization for Query_tables_list::sroutines hash.
  This step should significantly decrease amount of memory consumed
  by stored routines as we no longer will allocate chunk of memory
  required for this HASH for each statement in routine.
sql/sql_lex.cc:
  Use lazy initialization for Query_tables_list::sroutines hash.
  This step should significantly decrease amount of memory consumed
  by stored routines as we no longer will allocate chunk of memory
  required for this HASH for each statement in routine.
sql/sql_lex.h:
  Updated comment describing Query_tables_list::sroutines to
  reflect that now we are use lazy initialization for this hash.
  Added constant for initial size of this hash.
2006-11-01 15:41:48 +03:00
..
2005-09-30 14:03:55 +02:00
2006-08-30 13:20:39 -07:00
2005-11-03 22:42:25 +02:00
2006-08-30 13:20:39 -07:00
2006-04-13 17:22:56 +09:30
2006-09-12 18:25:35 +05:00
2006-10-08 22:34:32 +05:00
2006-05-30 17:10:53 -07:00
2005-08-12 13:54:42 +03:00
2006-09-18 12:14:27 +02:00
2006-08-24 20:56:28 +04:00
2006-06-17 02:11:12 +04:00
2006-10-03 20:28:59 +02:00
2006-09-01 10:32:12 +02:00
2006-07-08 04:07:43 +04:00
2006-06-27 00:47:52 +04:00
2006-08-21 16:21:48 +04:00
2005-08-12 17:57:19 +03:00
2006-09-27 19:21:29 +05:00
2006-05-03 21:35:27 -07:00
2006-04-21 08:19:38 -07:00
2006-06-14 23:54:08 +04:00
2006-06-27 00:47:52 +04:00