Skip to Content.
Sympa Menu

freetds - [ freetds-Patches-580072 ] Rewritten string_to_numeric

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: noreply AT sourceforge.net
  • To: noreply AT sourceforge.net
  • Subject: [ freetds-Patches-580072 ] Rewritten string_to_numeric
  • Date: Thu, 11 Jul 2002 05:55:34 -0700


Patches item #580072, was opened at 2002-07-11 14:55
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=580072&group_id=33106

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Frediano Ziglio (freddy77)
Assigned to: Nobody/Anonymous (nobody)
Summary: Rewritten string_to_numeric

Initial Comment:
This function wasn't very good.

- Source string is not always terminated.

- Had many buf overflow (copying string, converting to

binary and other).

- Input not checked...

- Allocate a linked list just to store some digit. Use short

int for counter (on some machine like Intel give poor

performance)

-Do not test overflow or strange character

Perhaps this version need some testing on big-endian

machine (it use always little endian ordering... correct?)



Also I made a test for this conversion.



freddy77



----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=580072&group_id=33106




Archive powered by MHonArc 2.6.24.

Top of Page