com php-src: Recognize TDS versions 7.3 and 7.4: ext/pdo_dbli b/dblib_driver.c
| From: | Stanislav Malyshev | Date: | Sun, 07 Aug 2016 12:15:59 +0000 |
| Subject: | com php-src: Recognize TDS versions 7.3 and 7.4: ext/pdo_dbli b/dblib_driver.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94302@lists.php.net to get a copy of this message | ||
Commit: 283ee1f6dca9ee7197d499cba8676c7731615623
Author: Lior Kaplan <kaplan@linnovate.net> Sun, 7 Aug 2016 15:15:32 +0300
Parents: 3d51b1d5441d41aace4a37142eba3e8855ad69c2
Branches: PHP-5.6 PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=283ee1f6dca9ee7197d499cba8676c7731615623
Log:
Recognize TDS versions 7.3 and 7.4
Changed paths:
M ext/pdo_dblib/dblib_driver..c
Diff:
diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c
index 70b4402..b5744a4 100644
--- a/ext/pdo_dblib/dblib_driver.c
+++ b/ext/pdo_dblib/dblib_driver.c
@@ -281,6 +281,12 @@ static int pdo_dblib_handle_factory(pdo_dbh_t *dbh, zval *driver_options
TSRMLS_
,{"7.2",DBVERSION_72}
,{"8.0",DBVERSION_72}
#endif
+#ifdef DBVERSION_73
+ ,{"7.3",DBVERSION_73}
+#endif
+#ifdef DBVERSION_74
+ ,{"7.4",DBVERSION_74}
+#endif
,{"10.0",DBVERSION_100}
,{"auto",0} /* Only works with FreeTDS. Other drivers will bork */