mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fix for bugs #5859 "DROP TABLE does not drop triggers" and
#6559 "DROP DATABASE forgets to drop triggers". If we drop table we should also drop all triggers associated with it. To do this we have to check for existence of .TRG file when we are dropping table and delete it too.
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
#include "parse_file.h"
|
||||
|
||||
static const LEX_STRING triggers_file_type= {(char *)"TRIGGERS", 8};
|
||||
static const char * const triggers_file_ext= ".TRG";
|
||||
|
||||
const char * const triggers_file_ext= ".TRG";
|
||||
|
||||
/*
|
||||
Table of .TRG file field descriptors.
|
||||
|
||||
Reference in New Issue
Block a user