|
|
Choosing A Webhost: |
CVS update of odbsequoia/src (stmt.cpp): msg#00049db.carob.cvs
Date: Thursday, March 9, 2006 @ 15:02:45 Author: marc Path: /cvsroot/carob/odbsequoia/src Modified: stmt.cpp (1.17 -> 1.18) Now correctly reporting end of ResultSet ----------+ stmt.cpp | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: odbsequoia/src/stmt.cpp diff -u odbsequoia/src/stmt.cpp:1.17 odbsequoia/src/stmt.cpp:1.18 --- odbsequoia/src/stmt.cpp:1.17 Thu Mar 9 11:36:57 2006 +++ odbsequoia/src/stmt.cpp Thu Mar 9 15:02:45 2006 @@ -146,9 +146,8 @@ L"Invalid state, no current ResultSet" " (TODO: print current state)"); - // FIXME: catch exception to set the correct SQLState here? - // Or rather ask carob to set it. - carob_stmt->getResultSet()->next(); + if (! carob_stmt->getResultSet()->next()) + return SQL_NO_DATA; if (this->state == S5) this->state = S6;
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of odbsequoia/src (simpletest.c), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of odbsequoia/src (simpletest.c), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of odbsequoia/src (stmt.cpp stmt.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of carob/include (CarobException.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| 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.
|