summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2021-04-21 09:21:24 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2021-04-21 11:21:57 +0300
commitef2749c90d7f050e7c876003c55aa20d1dee202d (patch)
tree9421fb0e5fd279ec1cd479ab633f1c09983fc243 /sql
parent9e6e0eaee203c0a736730a94e2f5422dfe0cd686 (diff)
downloadmariadb-git-ef2749c90d7f050e7c876003c55aa20d1dee202d.tar.gz
Fixup: Event_queue_element_for_exec initializer list not supported on gcc-4.1
Diffstat (limited to 'sql')
-rw-r--r--sql/event_data_objects.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/event_data_objects.h b/sql/event_data_objects.h
index 41626004100..8ed45d3699f 100644
--- a/sql/event_data_objects.h
+++ b/sql/event_data_objects.h
@@ -33,7 +33,11 @@ struct TABLE;
class Event_queue_element_for_exec
{
public:
- Event_queue_element_for_exec() : dbname{NULL, 0}, name{NULL, 0} {};
+ Event_queue_element_for_exec()
+ {
+ dbname.str= NULL; dbname.length= 0;
+ name.str= NULL; name.length= 0;
+ };
~Event_queue_element_for_exec();
bool