diff options
Diffstat (limited to 'dev-libs/redland/files')
-rw-r--r-- | dev-libs/redland/files/redland-1.0.17-mysql-8-my_bool.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-libs/redland/files/redland-1.0.17-mysql-8-my_bool.patch b/dev-libs/redland/files/redland-1.0.17-mysql-8-my_bool.patch new file mode 100644 index 000000000000..a59c456e84ff --- /dev/null +++ b/dev-libs/redland/files/redland-1.0.17-mysql-8-my_bool.patch @@ -0,0 +1,15 @@ +--- a/src/rdf_storage_mysql.c ++++ b/src/rdf_storage_mysql.c +@@ -445,11 +445,11 @@ + /* Initialize closed MySQL connection handle */ + connection->handle=mysql_init(connection->handle); + + #ifdef HAVE_MYSQL_OPT_RECONNECT + if(1) { +- my_bool value=(context->reconnect) ? 1 : 0; ++ bool value=(context->reconnect) ? 1 : 0; + mysql_options(connection->handle, MYSQL_OPT_RECONNECT, &value); + } + #endif + + /* Create connection to database for handle */ |