From ebaf95b13a7c6b026ec69f6a2f3a10190878580c Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 23 Jan 2005 15:34:48 +0000 Subject: [PATCH] make this the right size... --- ext/pdo/php_pdo_driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index 1914567d7b..422b108098 100755 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -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 */ -- 2.50.1