1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-22 17:44:29 +03:00
Files
mariadb/mysql-test/r
cmiller@zippy.cornsilk.net 88455a047f Changing the state of whether we're recording profiling information
halfway through a query (as happens in "SET SESSION PROFILING = ...")
has a few side-effects, the worst of which is a memory leak for
prepared statements, which poke directly from the parser into the 
profiling code (we don't have the query text when we need it) and 
that overwrites a pointer to heap-allocated memory when the previous
statement turns on profiling.

Instead, now set a flag when we begin a new statement that tracks 
whether profiling is on _at the start_ of the query.  Use that to
track whether we gather info.

Additionally, use that AND use the state of the profiling variable
after the end of a query to know whether to store information about 
the query that just finished.
2007-04-06 09:15:18 -04:00
..
2007-01-18 18:37:52 -07:00
2006-10-13 08:48:47 +02:00
2006-11-20 17:57:57 +04:00
2006-11-29 13:56:59 -05:00
2007-01-03 03:35:57 +04:00
2006-06-15 01:48:41 +04:00
2007-03-02 15:09:44 +04:00
2006-09-01 05:00:32 +02:00
2007-02-23 21:13:21 +03:00
2006-10-05 00:00:34 +02:00
2006-11-15 10:23:27 +01:00
2007-03-02 15:09:44 +04:00
2007-02-10 23:55:56 -08:00
2007-02-09 12:54:50 -08:00
2006-11-15 10:23:27 +01:00
2007-02-07 14:22:19 -08:00
2007-03-01 20:59:08 +01:00
2007-04-03 18:12:31 -04:00
2007-03-02 15:09:44 +04:00
2007-02-21 19:38:40 +02:00
2007-01-31 19:31:36 -08:00
2007-02-01 18:00:24 +04:00
2006-10-19 18:48:37 +05:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2007-02-08 15:53:14 +01:00
2006-11-15 10:23:27 +01:00
2007-03-08 21:42:41 +04:00
2007-02-01 18:00:24 +04:00
2006-06-09 19:29:39 -07:00
2007-03-06 14:30:28 -07:00
2007-01-18 15:28:45 +04:00
2006-12-04 14:29:51 +02:00
2007-03-09 13:37:06 +04:00