Fix another missing #include for gcc-11

This commit is contained in:
Jeff Law 2020-10-20 09:54:49 -06:00 committed by Michal Schorm
parent 8593570046
commit f6c1bc49b5
2 changed files with 16 additions and 1 deletions

View File

@ -11,3 +11,15 @@ index 103b5135..e6b3ba6f 100644
#include <stdint.h> #include <stdint.h>
diff --git a/sql-common/sql_string.cc b/sql-common/sql_string.cc
index 40435729..8b6ee827 100644
--- a/sql-common/sql_string.cc
+++ b/sql-common/sql_string.cc
@@ -23,6 +23,7 @@
#include "sql_string.h"
#include <algorithm>
+#include <limits>
#include "my_dbug.h"
#include "my_macros.h"

View File

@ -73,7 +73,7 @@
Name: community-mysql Name: community-mysql
Version: 8.0.21 Version: 8.0.21
Release: 15%{?with_debug:.debug}%{?dist} Release: 16%{?with_debug:.debug}%{?dist}
Summary: MySQL client programs and shared libraries Summary: MySQL client programs and shared libraries
URL: http://www.mysql.com URL: http://www.mysql.com
@ -970,6 +970,9 @@ fi
%endif %endif
%changelog %changelog
* Tue Oct 20 2020 Jeff Law <law@redhat> - 8.0.21-16
- Fix another missing #include for gcc-11
* Thu Oct 6 2020 Jeff Law <law@redhat> - 8.0.21-15 * Thu Oct 6 2020 Jeff Law <law@redhat> - 8.0.21-15
- Add missing #include for gcc-11 - Add missing #include for gcc-11