dbTalk Databases Forums  

[MySQL++] Field Type Info

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss [MySQL++] Field Type Info in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Vorpahl, Jason Stephen
 
Posts: n/a

Default [MySQL++] Field Type Info - 03-04-2005 , 11:29 PM






------_=_NextPart_001_01C52144.3E9DBF28
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am using the code from the examples, fieldinf1.cpp. I am getting a =
weird result on some of the fields. Anyone ever get this? The code is =
the exact as in the example and the output is:
=20
Records Found: 1
Query Info:
0 col_key INT NOT NULL i
1 col_int INT NOT NULL i
2 col_signed INT NULL N7mysqlpp4NullIiNS_10NullisNullEEE
3 col_float FLOAT NOT NULL f
4 col_double FLOAT NOT NULL f
5 col_decim DECIMAL NOT NULLd
6 col_date VARCHAR NOT NULLSs
7 col_code VARCHAR NOT NULLSs
8 col_name VARCHAR NOT NULLSs
9 col_address VARCHAR NOT NULLSs
=20
Any help would be great.
=20
Thanks,
Jason

------_=_NextPart_001_01C52144.3E9DBF28--

Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: [MySQL++] Field Type Info - 03-05-2005 , 01:33 AM






Vorpahl, Jason Stephen wrote:

Quote:
I am getting a weird result on some of the fields.
What results do you expect instead?

Are you just blanching at the mangled C++ type you see for the third
column? That happens because MySQL++ has built-in abilities to handle
SQL NULL differently from C++ NULL, which requires using a special type.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.