Stringifying MySQL C types

2001-06-15 Thread Jochen Wiedmann


Hi,

does the MySQL client library contain any support for
a proper stringification of the MySQL specific data
types like my_ulonglong? IMO they are depending on the
operating system and I should not use ltoa() or similar
functions.

Thanks,

Jochen

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Stringifying MySQL C types

2001-06-15 Thread Sinisa Milivojevic

Jochen Wiedmann writes:
 
 Hi,
 
 does the MySQL client library contain any support for
 a proper stringification of the MySQL specific data
 types like my_ulonglong? IMO they are depending on the
 operating system and I should not use ltoa() or similar
 functions.
 
 Thanks,
 
 Jochen


Hi!

Yes, MySQL C API has all the support you need.

Take a look at include files, particularly m_string.h. 

There is longlong2str, str2int etc ...


-- 
Regards,
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED]
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
   ___/   www.mysql.com

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php