summaryrefslogtreecommitdiff
path: root/dbd
diff options
context:
space:
mode:
Diffstat (limited to 'dbd')
-rw-r--r--dbd/NWGNUmakefile3
-rw-r--r--dbd/apr_dbd.c3
-rw-r--r--dbd/unsupported/NWGNUdbdfreetds (renamed from dbd/NWGNUdbdfreetds)0
-rw-r--r--dbd/unsupported/apr_dbd_freetds.c (renamed from dbd/apr_dbd_freetds.c)4
4 files changed, 4 insertions, 6 deletions
diff --git a/dbd/NWGNUmakefile b/dbd/NWGNUmakefile
index b1e3e532678a..a96d7f6fca0c 100644
--- a/dbd/NWGNUmakefile
+++ b/dbd/NWGNUmakefile
@@ -168,9 +168,6 @@ endif
ifeq "$(APU_HAVE_SQLITE3)" "1"
TARGET_nlm += $(OBJDIR)/dbdsqli3.nlm $(OBJDIR)/dbdsqli3.nlm $(EOLIST)
endif
-ifeq "$(APU_HAVE_FREETDS)" "1"
-TARGET_nlm += $(OBJDIR)/dbdfreetds.nlm $(OBJDIR)/dbdfreetds.nlm $(EOLIST)
-endif
#
# If there is an LIB target, put it here
diff --git a/dbd/apr_dbd.c b/dbd/apr_dbd.c
index bfa97d9e380a..abf858c95e5b 100644
--- a/dbd/apr_dbd.c
+++ b/dbd/apr_dbd.c
@@ -136,9 +136,6 @@ APU_DECLARE(apr_status_t) apr_dbd_init(apr_pool_t *pool)
#if APU_HAVE_ORACLE
DRIVER_LOAD("oracle", apr_dbd_oracle_driver, pool);
#endif
-#if APU_HAVE_FREETDS
- DRIVER_LOAD("freetds", apr_dbd_freetds_driver, pool);
-#endif
#if APU_HAVE_ODBC
DRIVER_LOAD("odbc", apr_dbd_odbc_driver, pool);
#endif
diff --git a/dbd/NWGNUdbdfreetds b/dbd/unsupported/NWGNUdbdfreetds
index fcac2271d194..fcac2271d194 100644
--- a/dbd/NWGNUdbdfreetds
+++ b/dbd/unsupported/NWGNUdbdfreetds
diff --git a/dbd/apr_dbd_freetds.c b/dbd/unsupported/apr_dbd_freetds.c
index d0b4b20025ec..2c34ede73bf2 100644
--- a/dbd/apr_dbd_freetds.c
+++ b/dbd/unsupported/apr_dbd_freetds.c
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#ifdef I_CAN_DEAL_WITH_THIS_PARTIAL_DRIVER_AND_UNMAINTAINED_CODE_FOR_FREETDS
+
#include "apu.h"
#include "apu_config.h"
@@ -803,3 +805,5 @@ APU_MODULE_DECLARE_DATA const apr_dbd_driver_t apr_dbd_freetds_driver = {
#endif
};
#endif
+
+#endif