diff options
| author | Bernard Spil <brnrd@FreeBSD.org> | 2016-02-13 19:02:11 +0000 | 
|---|---|---|
| committer | Bernard Spil <brnrd@FreeBSD.org> | 2016-02-13 19:02:11 +0000 | 
| commit | eaba6fd276e88a4d7d31206b165709689b057dc3 (patch) | |
| tree | ec99111658fa37fc7b9707a154f5335176cd717c /databases/mariadb101-server/files/patch-sql_sys__vars.cc | |
| parent | Fix strange build issue related to xdg-utils. (diff) | |
[NEW PORTS] databases/mariadb101-{server,client}: 10.1.11
MariaDB is one of the most popular database servers in the world. It's made
by the original developers of MySQL and guaranteed to stay open source.
Notable users include Wikipedia, Facebook and Google.
MariaDB turns data into structured information in a wide array of
applications, ranging from banking to websites. It is an enhanced, drop-in
replacement for MySQL. MariaDB is used because it is fast, scalable and
robust, with a rich ecosystem of storage engines, plugins and many other
tools make it very versatile for a wide variety of use cases.
MariaDB is developed as open source software and as a relational database
it provides an SQL interface for accessing data. This latest versions of
MariaDB also include GIS and JSON features.
WWW: http://mariadb.org/
Reviewed by:	koobs (mentor), feld (mentor)
Approved by:	koobs (mentor), feld (mentor)
Differential Revision:	D3953
Diffstat (limited to 'databases/mariadb101-server/files/patch-sql_sys__vars.cc')
| -rw-r--r-- | databases/mariadb101-server/files/patch-sql_sys__vars.cc | 40 | 
1 files changed, 40 insertions, 0 deletions
| diff --git a/databases/mariadb101-server/files/patch-sql_sys__vars.cc b/databases/mariadb101-server/files/patch-sql_sys__vars.cc new file mode 100644 index 000000000000..4f99a9c96e83 --- /dev/null +++ b/databases/mariadb101-server/files/patch-sql_sys__vars.cc @@ -0,0 +1,40 @@ +Fix clang build error + +--- sql/sys_vars.cc.orig	2015-10-15 15:43:47 UTC ++++ sql/sys_vars.cc +@@ -1040,7 +1040,7 @@ static Sys_var_ulong Sys_interactive_tim +        "connection before closing it", +        NO_SET_STMT SESSION_VAR(net_interactive_timeout), +        CMD_LINE(REQUIRED_ARG), +-       VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1)); ++       VALID_RANGE(1, INT_MAX32/1000), DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1)); +  + static Sys_var_ulonglong Sys_join_buffer_size( +        "join_buffer_size", +@@ -2214,7 +2214,7 @@ static Sys_var_ulong Sys_net_read_timeou +        "Number of seconds to wait for more data from a connection before " +        "aborting the read", +        SESSION_VAR(net_read_timeout), CMD_LINE(REQUIRED_ARG), +-       VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_READ_TIMEOUT), BLOCK_SIZE(1), ++       VALID_RANGE(1, INT_MAX32/1000), DEFAULT(NET_READ_TIMEOUT), BLOCK_SIZE(1), +        NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), +        ON_UPDATE(fix_net_read_timeout)); +  +@@ -2229,7 +2229,7 @@ static Sys_var_ulong Sys_net_write_timeo +        "Number of seconds to wait for a block to be written to a connection " +        "before aborting the write", +        SESSION_VAR(net_write_timeout), CMD_LINE(REQUIRED_ARG), +-       VALID_RANGE(1, LONG_TIMEOUT), DEFAULT(NET_WRITE_TIMEOUT), BLOCK_SIZE(1), ++       VALID_RANGE(1, INT_MAX32/1000), DEFAULT(NET_WRITE_TIMEOUT), BLOCK_SIZE(1), +        NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), +        ON_UPDATE(fix_net_write_timeout)); +  +@@ -3424,7 +3424,7 @@ static Sys_var_ulong Sys_net_wait_timeou +        "The number of seconds the server waits for activity on a " +        "connection before closing it", +        NO_SET_STMT SESSION_VAR(net_wait_timeout), CMD_LINE(REQUIRED_ARG), +-       VALID_RANGE(1, IF_WIN(INT_MAX32/1000, LONG_TIMEOUT)), ++       VALID_RANGE(1, INT_MAX32/1000), +        DEFAULT(NET_WAIT_TIMEOUT), BLOCK_SIZE(1)); +  + static Sys_var_plugin Sys_default_storage_engine( | 
