]> granicus.if.org Git - php/commitdiff
cosmetic changes
authorWez Furlong <wez@php.net>
Wed, 9 Feb 2005 15:12:41 +0000 (15:12 +0000)
committerWez Furlong <wez@php.net>
Wed, 9 Feb 2005 15:12:41 +0000 (15:12 +0000)
ext/pdo/pdo.c
ext/pdo/pdo_dbh.c

index 59ad47834a481369dc7deeab73714d152602d41f..aab3269021b51f0fda3dc73469b7b1326725fc2b 100755 (executable)
@@ -335,7 +335,9 @@ PHP_MINFO_FUNCTION(pdo)
        php_info_print_table_header(2, "pdo support", "enabled");
        php_info_print_table_end();
 
+#if 0
        DISPLAY_INI_ENTRIES();
+#endif
 }
 /* }}} */
 
index 59738038342024847601c4f0b2071d0f2a38c723..0855e145ed8500fe84862acf687de0e309a35f12 100755 (executable)
@@ -71,7 +71,7 @@ void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *sqlstate
        add_next_index_long(info, 0);
                
        if (supp) {
-               spprintf(&message, 0, "SQLSTATE[%s]: %s: %s", *pdo_err, msg, supp);
+               spprintf(&message, 0, "SQLSTATE[%s]: %s: %s", *pdo_err, msg, supp);
        } else {
                spprintf(&message, 0, "SQLSTATE[%s]: %s", *pdo_err, msg);
        }