unhandled type in getString() -- v1.0.5
Hello,
I'm hoping you have some ideas on why I get the following error when calling getString() on a varchar(255) column:
MySQL_Prepared_ResultSet::getString: unhandled type. Please, report
I've tried linking statically and dynamically and both methods produce this result.
However, if I turn on tracing the program -works- and here is some of the debugging output:
# >MySQL_Prepared_ResultSet::getString(int)
# | INF: column=3
# | INF: this=0x8014530c0
# | >MySQL_ResultSet::isScrollable
# | | INF: this=0x8014530c0
# | <MySQL_ResultSet::isScrollable
# | >MySQL_Prepared_ResultSetMetaData::getColumnType
# | | INF: this=0x80140a140
# | | INF: column=3
# | | INF: type=253
# | | INF: our type is 13
# | <MySQL_Prepared_ResultSetMetaData::getColumnType
# | INF: It's a string
# <MySQL_Prepared_ResultSet::getString(int)
Any idea why it would work when I turn on tracing and not otherwise?
Could it be some sort of memory corruption?
Build platform is amd64 FreeBSD 7.1 with g++ v4.2.1
Thanks,
Dominic
Subject
Views
Written By
Posted
unhandled type in getString() -- v1.0.5
3774
June 22, 2009 08:55AM
2775
June 22, 2009 11:35AM
3690
June 22, 2009 01:06PM
2667
June 22, 2009 12:56PM
2710
June 22, 2009 01:27PM
2475
June 23, 2009 05:43AM
2509
June 23, 2009 05:47AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.