|
cvs: pecl /sdo/DAS Relational.php /sdo/DAS/Relational Action.php DeleteAct: msg#00255php.pecl.cvs
mfp Fri Jul 29 12:46:19 2005 EDT Added files: /pecl/sdo/DAS/Relational/Scenarios companydb_db2.sql companydb_mysql.sql Removed files: /pecl/sdo/DAS/Relational/Scenarios companydb.sql Modified files: /pecl/sdo/DAS/Relational/Scenarios 1cde-CRUD.php 1c-CRUD.php 1c-RA.php 1c-CRU.php 1c-DCsamePK.php company_metadata.inc.php 1c-RUnull.php mc-C.php 1cde-CRUDdetach.php 1c-C.php 1cd-CRUD.php 1e-CRUD.php 1c-RD.php 1c-RUunsetPrimitive.php 1cde-CRU.php /pecl/sdo/DAS/Relational ObjectModel.php InsertAction.php DeleteAction.php UpdateAction.php UpdateNonContainmentReferenceAction.php Action.php /pecl/sdo/DAS Relational.php Log: Now works with DB2 8.2 Personal Edition on Windows. As a side effect, added support for prepared statements with placeholders. Changes include: 1. Use 'values identity_val_local()' to retrieve generated PK if DB2. 2. Use prepared statements and placeholders, both in statements generated by applyChanges and in statements passed to the new executePreparedQuery() call. Placeholders were primarily introduced because literal SQL with the values inline raises the problem that strings must be quoted and integers not. However, using placeholders has the pleasant side effect of avoiding variable interpolation and consequent danger that evil SQL might be injected into the statement. The existing executeQuery remains but should be used only for literal SQL that is trusted.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pecl /apc apc.php: 00255, Rasmus Lerdorf |
|---|---|
| Next by Date: | cvs: pecl /http/tests run-tests.diff: 00255, Marcus Boerger |
| Previous by Thread: | cvs: pecl /http KnownIssues.txt http.c http_api.c http_exception_object.c http_functions.c http_headers_api.c http_message_api.c http_message_object.c http_request_api.c http_request_object.c http_request_pool_api.c http_response_object.c http_send_api.c http_url_api.c php_http.h php_http_request_api.h php_http_request_pool_api.h php_http_std_defs.h /http/tests INI_001.phpt run-tests.diffi: 00255, Michael Wallner |
| Next by Thread: | cvs: pecl /http/tests run-tests.diff: 00255, Marcus Boerger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |