]> granicus.if.org Git - php/commitdiff
make this the right size...
authorWez Furlong <wez@php.net>
Sun, 23 Jan 2005 15:34:48 +0000 (15:34 +0000)
committerWez Furlong <wez@php.net>
Sun, 23 Jan 2005 15:34:48 +0000 (15:34 +0000)
ext/pdo/php_pdo_driver.h

index 1914567d7b9e077cf35a2ee16189a47d7f6f848a..422b108098792e72bcb5201c1b3e97d77b825d63 100755 (executable)
@@ -419,7 +419,7 @@ struct _pdo_dbh_t {
        unsigned int refcount;
 
        /* driver specific "class" methods for the dbh and stmt */
-       HashTable *cls_methods[PDO_DBH_DRIVER_METHOD_KIND__MAX-1];
+       HashTable *cls_methods[PDO_DBH_DRIVER_METHOD_KIND__MAX];
 };
 
 /* describes a column */