summaryrefslogtreecommitdiff
path: root/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc b/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc
deleted file mode 100644
index ffbeb0be9d22..000000000000
--- a/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc
+++ /dev/null
@@ -1,16 +0,0 @@
---- mysqlcppapi/Connection.cc.orig Wed Aug 4 23:15:58 2004
-+++ mysqlcppapi/Connection.cc Wed Aug 4 23:18:13 2004
-@@ -211,9 +211,11 @@
- bool Connection::shutdown ()
- {
- check_connection_is_open();
--
-+#if ( MYSQL_VERSION_ID >= 50001 ) || (( MYSQL_VERSION_ID < 50000 ) && ( MYSQL_VERSION_ID >= 40103 ))
-+ bool suc = !(mysql_shutdown(m_sharedptr_connection.obj(),SHUTDOWN_DEFAULT));
-+#else
- bool suc = !(mysql_shutdown(m_sharedptr_connection.obj()));
--
-+#endif
- if (!suc)
- throw ex_BadQuery(error());
-