Permalink
Browse files

Issue #100: Add support for tds_version 7.4.

  • Loading branch information...
GeoffMontee committed Sep 26, 2016
1 parent 127c40e commit 3a803c5840b8cf69e1a725fb4377d0f95a53a4e9
Showing with 14 additions and 0 deletions.
  1. +7 −0 src/options.c
  2. +7 −0 src/tds_fdw.c
View
@@ -363,6 +363,13 @@ void tdsGetForeignServerOptions(List *options_list, TdsFdwOptionSet *option_set)
tds_version_test = 1;
}
#endif
#ifdef DBVERSION_74
else if (strcmp(option_set->tds_version, "7.4") == 0)
{
tds_version_test = 1;
}
#endif
if (!tds_version_test)
{
View
@@ -479,6 +479,13 @@ int tdsSetupConnection(TdsFdwOptionSet* option_set, LOGINREC *login, DBPROCESS *
tds_version = DBVERSION_73;
}
#endif
#ifdef DBVERSION_74
else if (strcmp(option_set->tds_version, "7.4") == 0)
{
tds_version = DBVERSION_74;
}
#endif
if (tds_version == DBVERSION_UNKNOWN)
{

0 comments on commit 3a803c5

Please sign in to comment.