Zsolt Simon <[EMAIL PROTECTED]> writes:

> On Thu, 2006-02-23 at 17:15 +0100, Marc Herbert wrote:
>>     * 
>>     * @return pointer to the current result set; null if there are no more
>>     */
>> -  DriverResultSet*        getResultSet() const { return lastResultPtr; }
>> +  DriverResultSet&        getResultSet() const { return *lastResultPtr; }
>
> Just one question ... what will happen with getResultSet() when
> lastResultPtr is null?

Actually it seems this method is not needed to detect the end of the
list, since there is the (recommended in JDBC) getMoreResults() method
to do that, which you have to use anyway when walking the ResultSet
list.

So could we apply this patch?




_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to