php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch Bug-47415-lowercased-column-name-to-bindColumn for PDO related Bug #47415Patch version 2011-12-13 15:28 UTC Return to Bug #47415 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: dabramov@american-appraisal.comIndex: ext/pdo_firebird/firebird_statement.c =================================================================== --- ext/pdo_firebird/firebird_statement.c (revision 320930) +++ ext/pdo_firebird/firebird_statement.c (working copy) @@ -582,6 +582,9 @@ break; case PDO_PARAM_EVT_FETCH_POST: + if (param->paramno == -1) { + return 0; + } value = NULL; value_len = 0; caller_frees = 0; @@ -607,6 +610,17 @@ return 1; } return 0; + + case PDO_PARAM_EVT_NORMALIZE: + if (!param->is_param) { + char *s = param->name; + while (*s != '\0') { + *s = toupper(*s); + s++; + } + } + break; + default: ; } |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Wed Oct 09 01:01:28 2024 UTC |