CHAPTER 6 – PEAR DB – Really Portable Errors!

Option: DB_PORTABILITY_ERRORS This option should not have been necessary, but some error codes have been incorrectly mapped in older versions and changing the mapping would break compatibility. This option breaks backward compatibility, but fixes the error mappings so they are consistent across all drivers. If you truly want portable errors (why wouldn't you?), use this option. To enable all the portability features, use DB_PORTABILITY_ALL.

Post Comment
Login to post comments