Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144629671
D13769.1775880092.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
717 B
Referenced Files
None
Subscribers
None
D13769.1775880092.diff
View Options
Index: databases/soci/files/patch-backends_mysql_session.cpp
===================================================================
--- /dev/null
+++ databases/soci/files/patch-backends_mysql_session.cpp
@@ -0,0 +1,14 @@
+Patch obtained from upstream
+https://github.com/SOCI/soci/commit/165737c4be7d6c9acde92610b92e8f42a4cfe933
+
+--- backends/mysql/session.cpp.orig 2018-01-04 20:29:49 UTC
++++ backends/mysql/session.cpp
+@@ -199,7 +199,7 @@ void parse_connect_string(const string &
+ throw soci_error(err);
+ }
+ *port = std::atoi(val.c_str());
+- if (port < 0)
++ if (*port < 0)
+ {
+ throw soci_error(err);
+ }
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 4:01 AM (2 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28322417
Default Alt Text
D13769.1775880092.diff (717 B)
Attached To
Mode
D13769: Fix databases/soci build w/ clang.
Attached
Detach File
Event Timeline
Log In to Comment