Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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

Replies are listed 'Best First'.
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?
[choroba]: My week was hectic as well, and so will be the next several ones...
[Corion]: Sane Dots Supplies - your brand manufacturer for satisfying experiences!
[choroba]: preparing the trip to Vietnam + buying a new car = enough fun
[Corion]: choroba: Yeah, that's a lot of "fun" for one week...
[Corion]: I guess I should stage some product photos for Sane Dots Supplies ;)
[marto]: I had some ideas about that Corion
[marto]: I'll send a message over the weekend maybe :P
[Corion]: choroba: I avoided the "fun" of emergency shopping for a new flat iron by trying the flat iron without the timer that sat between it and the mains power. Seems as if just the timer is broken.
[Corion]: marto: Heh, would be cool!

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2017-01-20 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.