Skip to content

Commit

Permalink
The sqlite classes need to be final
Browse files Browse the repository at this point in the history
  • Loading branch information
helly25 committed Oct 17, 2003
1 parent 43a9483 commit 08d1c99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/sqlite/sqlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 08d1c99

Please sign in to comment.