Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Strange problems using libmysequoia with Carob 3 beta / Ruby: msg#00003

db.carob.general

Subject: Re: Strange problems using libmysequoia with Carob 3 beta / Ruby

Hi Csaba,

Thanks for the quick reply. There's no particular reason I'm using the 3.0 beta, other than that it was already in beta 2 and there seemed to be significant differences in the config files, so I thought I may as well use it so that I don't have to convert the whole setup when 3.0 final comes out.

I'll try out the CVS version and if that doesn't work, I'll move to the previous stable version of Sequoia.

Thanks again for your help!
Paul



Csaba Simon wrote:
Hi Paul,

Thanks for your lengthly feedback. Please find inlined my answers.

I'm running Debian Linux and currently using Carob 0.6.2 (version 0.7.1 refuses to work with Sequoia, complaining about a protocol mismatch when connected) and libmysequoia 0.9.5 (since 0.9.6 won't work with Carob 0.6.2.)


Please try the latest Carob and LibMySequoia from the CVS or wait for a few days until Carob 0.7.2 and LibMySequoia 0.9.7 will be released.

irb(main):004:0> x.query("select * from bar") # invalid query, bar does not exist
(client app freezes here, must ^C)
terminate called after throwing an instance of 'CarobNS::DriverException'
Aborted

irb(main):006:0> x.query("select * from bar")
Mysql::Error: Table 'DB1.bar' doesn't exist
from (irb):6:in `query'
from (irb):6

As you see no problem with the latest code.

What is strange that in your ruby example is missing the LD_PRELOAD... Did you renamed the libmysequoia library?

Incidentally, I can't get the mysql client app to connect to Sequoia at all by LD_PRELOADing libmysequoia.so. It just says:

This was fixed two days ago in the CVS (first reported by Raúl Rodríguez)

Also, the mysql Ruby driver's test suite will not work at all with libmysequoia.

Most of the test suite is working, there are only a few failing tests. This need furtherer investigation.

* This is due to some bug in these older versions of Carob and libmysequoia that has since been fixed in their newer releases. (Seems very possible.)

True.

The latest Carob and LibMySequoia is working only with the stable Sequoia 2.10 branch. Can you try this? Or you absolutely need the Sequoia 3.0 development branch?

Cheers,
Csaba


--

--------------------------------------------------
-- Paul Legato, Senior Software Engineer --
--- Networked Knowledge Systems ---
---- P.O. Box 20772 Tampa, FL. 33622-0772 ----
----- (415)846-0702 Voice (813)594-0045 FAX -----
------ plegato-S1aAME+IMEg@xxxxxxxxxxxxxxxx ------
--------------------------------------------------

--------------------------------------------------
----- This email bound by the following: -----
---- http://www.nks.net/email_disclaimer.html ----
--------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation