Rework patch to be similar to php 5.5.

This commit is contained in:
Alex Dupre 2013-08-12 14:56:18 +00:00
parent 9f18191f12
commit e6589366e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324634

View file

@ -1,15 +1,16 @@
--- dblib_driver.c.orig 2013-06-24 15:17:35.000000000 +0200
+++ dblib_driver.c 2013-06-24 15:20:43.000000000 +0200
@@ -274,9 +274,9 @@
--- dblib_driver.c.orig 2013-08-12 16:49:42.000000000 +0200
+++ dblib_driver.c 2013-08-12 16:50:11.000000000 +0200
@@ -274,9 +274,13 @@
,{"5.0",DBVERSION_70} /* FIXME: This does not work with Sybase, but environ will */
,{"6.0",DBVERSION_70}
,{"7.0",DBVERSION_70}
- ,{"7.1",DBVERSION_71}
- ,{"7.2",DBVERSION_72}
- ,{"8.0",DBVERSION_72}
+ ,{"7.1",DBVERSION_80}
+ ,{"7.2",DBVERSION_80}
+ ,{"8.0",DBVERSION_80}
+#ifdef DBVERSION_71
,{"7.1",DBVERSION_71}
+#endif
+#ifdef DBVERSION_72
,{"7.2",DBVERSION_72}
,{"8.0",DBVERSION_72}
+#endif
,{"10.0",DBVERSION_100}
,{"auto",0} /* Only works with FreeTDS. Other drivers will bork */