https://bugs.documentfoundation.org/show_bug.cgi?id=103685

--- Comment #12 from Julien Nabet <serval2...@yahoo.fr> ---
Lionel: Since it seems the cleaning must be in
dbaccess/source/ui/dlg/directsql.cxx so resultsets can be available in
dbaccess/source/core/api/statement.cxx for macros or other things, I'm stuck.
Indeed, I began with:
diff --git a/mysqlc/source/mysqlc_statement.cxx
b/mysqlc/source/mysqlc_statement.cxx
index 3a082004831a..9ff3ce163fb6 100644
--- a/mysqlc/source/mysqlc_statement.cxx
+++ b/mysqlc/source/mysqlc_statement.cxx
@@ -240,7 +240,7 @@ sal_Bool SAL_CALL OCommonStatement::getMoreResults()

     // if your driver supports more than only one resultset
     // and has one more at this moment return true
-    return false;
+    return cppStatement->getMoreResults();
 }

but then, I don't know how to call getMoreResults() from directsql.cxx.
I tried to declare OStatement::getMoreResults (because 
OStatementBase::getMoreResults already existts) in statement.hxx +
statement.cxx but I've got an error when building.
I think it's perhaps linked to XStatement.idl but don't want to touch this
since it's a public interface and I don't know the consequences.
I also tried to use XMultipleResults but since execute method doesn't return
anything, I can't use XMultipleResults

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to