mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 18:41:17 +02:00
create bsd12 branch
This commit is contained in:
52
data/mariadb/files/patch-sql_sql__trigger.cc
Normal file
52
data/mariadb/files/patch-sql_sql__trigger.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
Fix clang build error
|
||||
|
||||
--- sql/sql_trigger.cc.orig 2017-05-14 23:13:18 UTC
|
||||
+++ sql/sql_trigger.cc
|
||||
@@ -177,32 +177,32 @@ static File_option triggers_file_paramet
|
||||
{
|
||||
{
|
||||
{ C_STRING_WITH_LEN("triggers") },
|
||||
- my_offsetof(class Table_triggers_list, definitions_list),
|
||||
+ static_cast<int>(my_offsetof(class Table_triggers_list, definitions_list)),
|
||||
FILE_OPTIONS_STRLIST
|
||||
},
|
||||
{
|
||||
{ C_STRING_WITH_LEN("sql_modes") },
|
||||
- my_offsetof(class Table_triggers_list, definition_modes_list),
|
||||
+ static_cast<int>(my_offsetof(class Table_triggers_list, definition_modes_list)),
|
||||
FILE_OPTIONS_ULLLIST
|
||||
},
|
||||
{
|
||||
{ C_STRING_WITH_LEN("definers") },
|
||||
- my_offsetof(class Table_triggers_list, definers_list),
|
||||
+ static_cast<int>(my_offsetof(class Table_triggers_list, definers_list)),
|
||||
FILE_OPTIONS_STRLIST
|
||||
},
|
||||
{
|
||||
{ C_STRING_WITH_LEN("client_cs_names") },
|
||||
- my_offsetof(class Table_triggers_list, client_cs_names),
|
||||
+ static_cast<int>(my_offsetof(class Table_triggers_list, client_cs_names)),
|
||||
FILE_OPTIONS_STRLIST
|
||||
},
|
||||
{
|
||||
{ C_STRING_WITH_LEN("connection_cl_names") },
|
||||
- my_offsetof(class Table_triggers_list, connection_cl_names),
|
||||
+ static_cast<int>(my_offsetof(class Table_triggers_list, connection_cl_names)),
|
||||
FILE_OPTIONS_STRLIST
|
||||
},
|
||||
{
|
||||
{ C_STRING_WITH_LEN("db_cl_names") },
|
||||
- my_offsetof(class Table_triggers_list, db_cl_names),
|
||||
+ static_cast<int>(my_offsetof(class Table_triggers_list, db_cl_names)),
|
||||
FILE_OPTIONS_STRLIST
|
||||
},
|
||||
{
|
||||
@@ -216,7 +216,7 @@ static File_option triggers_file_paramet
|
||||
File_option sql_modes_parameters=
|
||||
{
|
||||
{ C_STRING_WITH_LEN("sql_modes") },
|
||||
- my_offsetof(class Table_triggers_list, definition_modes_list),
|
||||
+ static_cast<int>(my_offsetof(class Table_triggers_list, definition_modes_list)),
|
||||
FILE_OPTIONS_ULLLIST
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user