mirror of
https://github.com/php/php-src.git
synced 2024-12-12 19:33:31 +08:00
build related adjustments.
These need to be included in beta 2
This commit is contained in:
parent
c3e2f113f3
commit
372c38a53a
@ -36,9 +36,17 @@ function_entry pdo_odbc_functions[] = {
|
||||
};
|
||||
/* }}} */
|
||||
|
||||
/* {{{ pdo_odbc_deps[] */
|
||||
static zend_module_dep pdo_odbc_deps[] = {
|
||||
ZEND_MOD_REQUIRED("pdo")
|
||||
{NULL, NULL, NULL}
|
||||
};
|
||||
/* }}} */
|
||||
|
||||
/* {{{ pdo_odbc_module_entry */
|
||||
zend_module_entry pdo_odbc_module_entry = {
|
||||
STANDARD_MODULE_HEADER,
|
||||
STANDARD_MODULE_HEADER_EX, NULL,
|
||||
pdo_odbc_deps,
|
||||
"PDO_ODBC",
|
||||
pdo_odbc_functions,
|
||||
PHP_MINIT(pdo_odbc),
|
||||
|
@ -7,7 +7,12 @@ $SQL = array(
|
||||
);
|
||||
|
||||
//$DB = new pdo($CONNECTION, $USER, $PASSWD);
|
||||
$DB = new pdo($CONNECTION);
|
||||
try {
|
||||
$DB = new pdo($CONNECTION);
|
||||
} catch (Exception $tmp) {
|
||||
$DB = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
foreach(array('test','classtypes') as $name)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user