Last active
July 4, 2018 17:37
-
-
Save KalleZ/424ea78492cd5f4c2198cba6b25403d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/pdo_odbc/pdo_odbc.c b/ext/pdo_odbc/pdo_odbc.c | |
index 0ff71a0cf8..c9d0be7580 100644 | |
--- a/ext/pdo_odbc/pdo_odbc.c | |
+++ b/ext/pdo_odbc/pdo_odbc.c | |
@@ -92,6 +92,9 @@ PHP_MINIT_FUNCTION(pdo_odbc) | |
char *instance = INI_STR("pdo_odbc.db2_instance_name"); | |
if (instance) { | |
char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance)); | |
+ | |
+ php_error_docref(NULL, E_DEPRECATED, "The pdo_odbc.db2_instance_name ini directive is deprecated and will be removed in the future"); | |
+ | |
if (!env) { | |
return FAILURE; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment