Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[JIRA] Created: (CAROB-47) error retrieving null value from a driverResultS: msg#00005

db.carob.general

Subject: [JIRA] Created: (CAROB-47) error retrieving null value from a driverResultSet with getString

error retrieving null value from a driverResultSet with getString
-----------------------------------------------------------------

Key: CAROB-47
URL: https://forge.continuent.org/jira/browse/CAROB-47
Project: Carob
Type: Bug
Components: C++ API
Environment: Paldo linux x86
IBM laptop R51 - 512MB memory
Sequoia 2.4 beta - backend mysql 5.0
Reporter: Zsolt Simon
Assigned to: Gilles Rayrat
Priority: Minor


When executing the above specified commands, an exception is thrown:
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid

The code fragment where this happening:
wstring DriverResultSet::getString(int32_t columnIndex) throw (SQLException,
UnexpectedException)
{
checkRowAndColPosAndSetNullFlag(columnIndex);
if (wasNullFlag)
return NULL; <---- exception is thrown here

wstring can't be initialized with NULL.
Needs another logic for this function to signal NULL values.



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo