1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-27 05:56:07 +03:00
Files
mariadb/mysql-test/r
Davi Arnaut e879919a9f Backport of Bug#15192 to mysql-next-mr
------------------------------------------------------------
revno: 2597.4.17
revision-id: sp1r-davi@mysql.com/endora.local-20080328174753-24337
parent: sp1r-anozdrin/alik@quad.opbmk-20080328140038-16479
committer: davi@mysql.com/endora.local
timestamp: Fri 2008-03-28 14:47:53 -0300
message:
  Bug#15192 "fatal errors" are caught by handlers in stored procedures

  The problem is that fatal errors (e.g.: out of memory) were being
  caught by stored procedure exception handlers which could cause
  the execution to not be stopped due to a continue handler.

  The solution is to not call any exception handler if the error is
  fatal and send the fatal error to the client.

mysql-test/r/sp-error.result:
  Add test case result for Bug#15192
mysql-test/t/sp-error.test:
  Add test case for Bug#15192
mysys/my_alloc.c:
  Pass flag to signal fatal error in memory root allocations.
sql/event_data_objects.cc:
  Use init_sql_alloc to initialize memory roots, which uses
  the sql error handler to push errors.
sql/ha_partition.cc:
  Pass flag to signal fatal error instead of calling fatal_error.
sql/item_func.cc:
  Pass flag to signal fatal error instead of calling fatal_error.
sql/item_subselect.cc:
  Remove redundant fatal error, memory root already pushes error.
sql/opt_sum.cc:
  Pass flag to signal fatal error instead of calling fatal_error.
sql/sp_head.cc:
  Allocator already sets fatal error.
sql/sql_class.h:
  A error must exist for it to be fatal. Pass flag to signal fatal
  error instead of calling fatal_error.
sql/sql_insert.cc:
  Pass flag to signal fatal error instead of calling fatal_error.
sql/sql_list.h:
  Pass flag to signal fatal error instead of calling fatal_error.
sql/sql_parse.cc:
  Pass flag to signal fatal error instead of calling fatal_error.
sql/sql_partition.cc:
  Pass flag to signal fatal error instead of calling fatal_error.
sql/sql_select.cc:
  Pass flag to signal fatal error instead of calling fatal_error.
sql/sql_servers.cc:
  Use init_sql_alloc to initialize memory roots, which uses
  the sql error handler to push errors.
sql/sql_show.cc:
  Pass flag to signal fatal error instead of calling fatal_error.
sql/sql_trigger.cc:
  Use init_sql_alloc to initialize memory roots, which uses
  the sql error handler to push errors.
sql/sql_update.cc:
  Pass flag to signal fatal error instead of calling fatal_error.
sql/tztime.cc:
  Use init_sql_alloc to initialize memory roots, which uses
  the sql error handler to push errors.
2009-11-10 18:31:28 -02:00
..
2009-10-23 15:22:21 +04:00
2009-08-27 15:59:25 +05:00
2009-02-10 16:27:35 +03:00
2009-09-10 11:58:13 +05:00
2009-08-20 14:30:59 +02:00
2009-09-10 03:18:29 -06:00
2009-01-23 13:22:05 +01:00
2009-09-10 03:18:29 -06:00
2009-10-23 17:07:45 +01:00
2009-09-10 03:18:29 -06:00
2009-06-01 16:00:38 +04:00
2009-09-11 01:15:41 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-03-27 10:18:06 +08:00
2009-11-04 10:17:39 +01:00
2009-10-23 15:22:21 +04:00
2009-04-29 07:59:10 +05:00
2009-10-28 10:55:44 +03:00
2009-11-02 14:10:04 +03:00
2009-11-02 14:10:04 +03:00
2009-02-26 18:17:06 +01:00
2009-02-03 14:45:17 +01:00
2009-05-06 15:00:14 +05:30
2009-06-15 17:36:51 +03:00
2009-02-10 16:27:35 +03:00
2009-10-23 15:22:21 +04:00
2009-11-02 14:10:04 +03:00
2009-09-10 03:18:29 -06:00
2009-03-16 20:54:50 +01:00
2009-11-02 14:10:04 +03:00
2009-09-10 03:18:29 -06:00
2009-10-29 10:03:16 +04:00
2009-02-19 18:22:28 +01:00
2009-10-19 14:58:13 +02:00
2009-10-19 17:36:19 +04:00
2009-10-13 23:31:03 +04:00
2009-10-13 23:31:03 +04:00
2009-09-10 03:18:29 -06:00
2009-02-19 17:59:00 +04:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-06-10 11:58:36 +03:00
2009-09-28 16:48:40 +03:00
2008-12-13 19:42:12 +00:00
2009-02-09 22:00:15 +01:00
2009-02-14 20:14:10 +03:00
2009-09-10 03:18:29 -06:00
2009-05-15 12:11:07 +05:00
2009-05-10 21:20:35 +05:00
2009-10-23 15:22:21 +04:00
2009-10-28 10:55:44 +03:00
2009-10-19 15:14:43 +02:00