DBD::mysql does not support
bind_param_inout as is documented in
this 4 year old bug. I am trying to understand how hard it would be to implement (and I am not an XS Monk by any standard). Is it more difficult to implement for
MySQL than e.g.
DB2?
if( is_inout ) {
phs->sv = value; /* Make a reference to the input variable */
SvREFCNT_inc( value ); /* Increment reference to variable */
if( SQL_PARAM_INPUT != phs->paramType )
imp_sth->bHasOutput = 1;
if( SQL_PARAM_OUTPUT != phs->paramType )
imp_sth->bHasInput = 1;
if( maxlen > 0 ) {
maxlen++; /* Add one for potential null terminator */
/* Allocate new buffer only if current buffer isn't big enough */
if( maxlen > phs->bufferSize ) {
if( 0 == phs->bufferSize ) /* new buffer */
Newc( 1, phs->buffer, maxlen, SQLCHAR, void* );
else
Renewc( phs->buffer, maxlen, SQLCHAR, void* );
phs->bufferSize = maxlen;
}
}
}
Update: I got feedback from Patrick saying he would look into the matter.
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.