[TYPO3-core] RFC #15457: Add support for prepared queries [summary and pending questions]

Helmut Hummel helmut at typo3.org
Sat Aug 21 18:10:09 CEST 2010


Hi,

On 20.08.10 15:06, Helmut Hummel wrote:
> 
> They are not finished yet, but if so, I will of course post them here.

OK, not as easy as I thought, but here we go.

Attached a followup patch that does the following:

1. Also throw exeption if not php null value is passed to bindValue with
class constant PARAM_NULL
2. Allow named parameters in execute()
3. Throw an exeption if parameter names do not start with a colon
followed by one or more alphanumerical characters

Because of that changes, some unit test will fail before this patch is
applied, but will pass after that.

Looking forward to your feedback.

Regards Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15457_tests.diff
Type: text/x-patch
Size: 11357 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100821/71f91ab0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15457_followup.diff
Type: text/x-patch
Size: 1544 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100821/71f91ab0/attachment-0001.bin>


More information about the TYPO3-team-core mailing list