The sqlite classes need to be final

This commit is contained in:
Marcus Boerger 2003-10-17 08:17:09 +00:00
parent 43a948379a
commit 08d1c991cf

View File

@ -730,6 +730,7 @@ static int php_sqlite_authorizer(void *autharg, int access_type, const char *arg
sqlite_ce_ ## name = zend_register_internal_class_ex(&ce, parent, NULL TSRMLS_CC); \
memcpy(&sqlite_object_handlers_ ## name, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); \
sqlite_object_handlers_ ## name.clone_obj = NULL; \
sqlite_ce_ ## name->ce_flags |= ZEND_ACC_FINAL_CLASS; \
}
zend_class_entry *sqlite_ce_db, *sqlite_ce_exception;