1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-13 20:03:16 +03:00
Files
mariadb/mysql-test/t
Jorgen Loland 4bfd212177 Bug#54812: assert in Diagnostics_area::set_ok_status
during EXPLAIN

Before the patch, send_eof() of some subclasses of 
select_result (e.g., select_send::send_eof()) could 
handle being called after an error had occured while others 
could not. The methods that were not well-behaved would trigger
an ASSERT on debug builds. Release builds were not affected.

Consider the following query as an example for how the ASSERT
could be triggered:

A user without execute privilege on f() does
   SELECT MAX(key1) INTO @dummy FROM t1 WHERE f() < 1;
resulting in "ERROR 42000: execute command denied to user..." 

The server would end the query by calling send_eof(). The 
fact that the error had occured would make the ASSERT trigger. 

select_dumpvar::send_eof() was the offending method in the
bug report, but the problem also applied to other 
subclasses of select_result. This patch uniforms send_eof() 
of all subclasses of select_result to handle being called 
after an error has occured.
2010-11-15 16:18:04 +01:00
..
2010-02-25 23:13:11 +04:00
2010-05-26 22:34:25 +08:00
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2010-07-14 09:57:50 -06:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2010-08-20 16:10:49 +03:00
2010-08-20 16:10:49 +03:00
2010-09-08 09:36:39 +02:00
2010-07-30 16:56:57 +03:00
2010-06-11 10:15:55 +02:00
2010-01-15 15:42:15 +04:00
2010-01-15 15:42:15 +04:00
2010-06-01 11:54:06 +04:00
2010-08-12 17:50:23 +04:00
2010-07-14 15:05:20 +03:00
2010-04-20 10:51:50 +02:00
2010-08-25 13:17:15 +05:00
2010-08-25 13:17:15 +05:00
2010-07-16 21:25:00 +03:00
2010-10-19 14:13:05 +02:00
2010-04-13 19:04:45 +04:00
2010-09-13 14:46:55 +02:00
2010-09-13 15:56:56 +02:00
2010-10-01 16:06:10 +02:00
2010-02-24 00:22:19 -07:00
2010-10-20 16:56:09 +02:00
2010-10-20 16:56:09 +02:00
2010-10-20 16:56:09 +02:00
2010-10-20 16:56:09 +02:00
2010-10-20 16:56:09 +02:00
2009-12-29 15:19:05 +03:00
2010-02-06 13:28:06 +03:00
2010-07-16 21:25:00 +03:00
2010-07-04 20:35:05 +01:00
2010-07-30 19:28:36 +04:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2010-09-07 12:17:12 +02:00
2010-11-06 19:21:12 +01:00
2010-08-13 14:20:49 +03:00