|
|
Choosing A Webhost: |
RE: Bill's patch submitted: msg#00272db.tds.freetds
Hi Freddy, > Very big patch !!! I don't do things by halves :-) > I'm revising some of it (I avoided ctlib/dblib code) feel free. > - tds_alloc_cursor contain a buffer overflow calling strcpy, allocate > namelen/querylen + 1 or use memcpy instead of strcpy Thanks for spotting. > - why you not send data (tds_flush_packet) within some tds_cursor_* > functions ? You should also test result of tds_flush_packet because in ct-library you can batch up a declare cursor, cursor setrows and cursor open into one send > - some more tests fail (tds/flags, ctlib/rpc_ct_param, > ctlib/rpc_ct_setparam) oops! didn't notice those failures. I'll take a look at them Bill > -----Original Message----- > From: ZIGLIO Frediano [SMTP:Frediano.Ziglio@xxxxxxxxxxxx] > Sent: 31 October 2003 14:13 > To: FreeTDS Development Group > Subject: RE: [freetds] Bill's patch submitted > > > > > Hi all, > > > > I've finally submitted my patch. > > > > This contains a number of features. > > > > 1) reworked ct-lib results processing. Hopefully the "empty > > result set" problem is in the past now. > > > > 2) The basics of server side cursors. All the wire stuff is > > implemented for TDS 5.0 , 7.0 and 8.0 > > The ct-library functions necessary to use cursors are > > implemented, and a test program is available. > > I've left undone all the issues surrounding our handling > > of multiple results metadata, as I consider it needs more thought. > > In any meaningful sense, the cursor functionality is > > useless until we sort this out, but I wanted to commit what I > > had so far. > > > > 3) started work on moving bcp out of dblibrary > > > > 4) some other small patches including ct_con_props CS_SERVERNAME > > > > > > Any questions - I may be around from time to time this weekend. > > > > Bill > > > > I Bill! > Very big patch !!! > > I'm revising some of it (I avoided ctlib/dblib code) > - tds_alloc_cursor contain a buffer overflow calling strcpy, allocate > namelen/querylen + 1 or use memcpy instead of strcpy > - some functions in query.c should call tds_to_quering to avoid reuse > - why you not send data (tds_flush_packet) within some tds_cursor_* > functions ? You should also test result of tds_flush_packet > - some more tests fail (tds/flags, ctlib/rpc_ct_param, > ctlib/rpc_ct_setparam) > > freddy77 > _______________________________________________ > FreeTDS mailing list > FreeTDS@xxxxxxxxxxxxxxxxx > http://lists.ibiblio.org/mailman/listinfo/freetds
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Bill's patch submitted, ZIGLIO Frediano |
|---|---|
| Next by Date: | RE: Bill's patch submitted, ZIGLIO Frediano |
| Previous by Thread: | RE: Bill's patch submitted, ZIGLIO Frediano |
| Next by Thread: | RE: Bill's patch submitted, 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 |