Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Placeholders(?) in the prepare statements for executing DBD::Sybase queries

by VSarkiss (Monsignor)
on Jun 29, 2006 at 13:59 UTC ( #558317=note: print w/ replies, xml ) Need Help??


in reply to Placeholders(?) in the prepare statements for executing DBD::Sybase queries

I'm not sure why the responses above think you're using FreeTDS or MS SQL Server. From the trace output, you're using CT-Library directly. If that's so, the segmentation fault indicates you either have a version mismatch between your DBD::Sybase and CT-Library, or you've stumbled on a bug in the DBD -- although the latter is highly unlikely for such a simple code snippet.

If you're able, try to re-compile and/or re-install DBD::Sybase, and make sure your LD_LIBRARY_PATH points to the Sybase client version you used in the compilation.


Comment on Re: Placeholders(?) in the prepare statements for executing DBD::Sybase queries
Download Code
Re^2: Placeholders(?) in the prepare statements for executing DBD::Sybase queries
by mpeppler (Vicar) on Jun 30, 2006 at 16:05 UTC
    Actually, this bit
    syb_alloc_cmd() -> CS_COMMAND 30b3a0 for CS_CONNECTION 135260 ct_send(CS_DESCRIBE_INPUT) returned 0 at /usr/local/lib/perl5/site_per +l/5.8.7/sun4-solaris/DBD/Sybase.pm line 133.
    is the clue that the OP is using FreeTDS.

    And yes, that is the reason why the placeholders don't work (yet).

    Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://558317]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2015-07-02 23:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (46 votes), past polls