summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Scott <dbs@php.net>2005-10-18 01:01:32 +0000
committerDan Scott <dbs@php.net>2005-10-18 01:01:32 +0000
commit887901c35cfd54ae95e86d598cea5041f0c2ff9f (patch)
tree6c5c3c9fca497498c7f6f757a096a18e11d94fb4
parenta9ce7d32e4074033863aba971aa7290b077fc2ac (diff)
downloadphp-git-887901c35cfd54ae95e86d598cea5041f0c2ff9f.tar.gz
Apply patch for #34900, sight unseen.
-rwxr-xr-xext/pdo_odbc/pdo_odbc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/pdo_odbc/pdo_odbc.c b/ext/pdo_odbc/pdo_odbc.c
index 8cd45b3bfb..9b744cd284 100755
--- a/ext/pdo_odbc/pdo_odbc.c
+++ b/ext/pdo_odbc/pdo_odbc.c
@@ -112,10 +112,10 @@ PHP_MINIT_FUNCTION(pdo_odbc)
}
#endif
- REGISTER_PDO_CONST_LONG("ODBC_ATTR_USE_CURSOR_LIBRARY", PDO_ODBC_ATTR_USE_CURSOR_LIBRARY);
- REGISTER_PDO_CONST_LONG("ODBC_SQL_USE_IF_NEEDED", SQL_CUR_USE_IF_NEEDED);
- REGISTER_PDO_CONST_LONG("ODBC_SQL_USE_DRIVER", SQL_CUR_USE_DRIVER);
- REGISTER_PDO_CONST_LONG("ODBC_SQL_USE_ODBC", SQL_CUR_USE_ODBC);
+ REGISTER_PDO_CLASS_CONST_LONG("ODBC_ATTR_USE_CURSOR_LIBRARY", PDO_ODBC_ATTR_USE_CURSOR_LIBRARY);
+ REGISTER_PDO_CLASS_CONST_LONG("ODBC_SQL_USE_IF_NEEDED", SQL_CUR_USE_IF_NEEDED);
+ REGISTER_PDO_CLASS_CONST_LONG("ODBC_SQL_USE_DRIVER", SQL_CUR_USE_DRIVER);
+ REGISTER_PDO_CLASS_CONST_LONG("ODBC_SQL_USE_ODBC", SQL_CUR_USE_ODBC);
return SUCCESS;
}