|
|
Choosing A Webhost: |
[JIRA] Resolved: (CAROB-47) error retrieving null value from a driverResult: msg#00007db.carob.general
[ https://forge.continuent.org/jira/browse/CAROB-47?page=all ] Gilles Rayrat resolved CAROB-47: -------------------------------- Resolution: Fixed Fix Version: V1.0 - full version return NULL changed to return L"" We should discuss whether to throw a "NullValueException" here in order to prevent user from testing wasNull for each result > 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 > Assignee: Gilles Rayrat > Priority: Minor > Fix For: V1.0 - full version > > > 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> |
|---|---|---|
| Previous by Date: | [JIRA] Resolved: (CAROB-46) error retrieving resultset with null values, Zsolt Simon (JIRA) |
|---|---|
| Next by Date: | [JIRA] Created: (CAROB-48) problem receiving empty resultsets, Zsolt Simon (JIRA) |
| Previous by Thread: | [JIRA] Created: (CAROB-47) error retrieving null value from a driverResultSet with getString, Zsolt Simon (JIRA) |
| Next by Thread: | [JIRA] Created: (CAROB-48) problem receiving empty resultsets, Zsolt Simon (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |
Home
| advertise | OSDir is
an inevitable website.
|