|
|
Choosing A Webhost: |
Re: freetds-dev on Solaris: msg#00254db.tds.freetds
On Tue, 25 Nov 2003 01:53:08 -0500, "Jeremy Kister" <freetds-01@xxxxxxxxxxxxxxxx> wrote: > I am currently using DBD::Sybase v1.01 with freetds-0.61.2 on solaris > 2.7 and solaris 2.9 configured with tdsver 4.2 to connect to a Microsoft > SQL 2000 server. > > As Michael Peppler notes in the bugs section of his "README.freetds", > FreeTDS 0.61 has a bug when executing queries that return 0 rows. > > To get around this, i tried installing freetds-0.62.dev.20031124 (as > well as 20031108). > On my Solaris 2.7 box (perl 5.6.1), when i run any perl script using > the > freetds 20031124, i get: > Assertion failed: 0, file iconv.c, line 343 > Abort Line 1343, you mean? Here's that assert, below. I'd turn off extra checks to get it working, and maybe print out the names to clarify what's happening. --jkl TDSICONVINFO * tds_iconv_from_lcid(TDSSOCKET * tds, int lcid) { const char *charset = lcid2charset(lcid); #if ENABLE_EXTRA_CHECKS assert(strcmp(tds_canonical_charset_name(charset), charset) == 0); #endif /* same as client (usually this is true, so this improve performance) ? */ if (strcmp(tds->iconv_info[client2server_chardata]->server_charset.name, charset) == 0) return tds->iconv_info[client2server_chardata]; return tds_iconv_get_info(tds, charset); }
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Freetds\sql server lag, ZIGLIO Frediano |
|---|---|
| Next by Date: | RE: freetds-dev on Solaris, ZIGLIO Frediano |
| Previous by Thread: | freetds-dev on Solaris, Jeremy Kister |
| Next by Thread: | RE: freetds-dev on Solaris, ZIGLIO Frediano |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |