https://bugs.freedesktop.org/show_bug.cgi?id=82688
--- Comment #4 from Julien Nabet <serval2...@yahoo.fr> --- On pc Debian x86-64 with 4.4 sources updated today, I could reproduce this. A bt retrieved: #0 connectivity::odbc::ORealObdcDriver::getOdbcFunction (this=0x2bdf350, _nIndex=7) at /home/julien/compile-libreoffice/libo_4_4/connectivity/source/drivers/odbc/ORealDriver.cxx:106 #1 0x00002aaad4b9c41c in connectivity::odbc::OConnection::getOdbcFunction (this=0x2be8fd0, _nIndex=7) at /home/julien/compile-libreoffice/libo_4_4/connectivity/source/drivers/odbc/OConnection.cxx:96 #2 0x00002aaad4b7d615 in connectivity::odbc::OTools::GetInfo (_pConnection=0x2be8fd0, _aConnectionHandle=0x2bed4a0, _nInfo=15, _rValue=@0x7fffffff3adc: 0, _xInterface=uno::Reference to (connectivity::odbc::ODatabaseMetaData *) 0x2bf6dd0) at /home/julien/compile-libreoffice/libo_4_4/connectivity/source/drivers/odbc/OTools.cxx:551 #3 0x00002aaad4b962e2 in connectivity::odbc::ODatabaseMetaData::supportsCoreSQLGrammar (this=0x2bf6dd0) at /home/julien/compile-libreoffice/libo_4_4/connectivity/source/drivers/odbc/ODatabaseMetaData.cxx:1518 #4 0x00002aaac8df975b in dbtools::DatabaseMetaData::supportsPrimaryKeys (this=0x2c6f708) at /home/julien/compile-libreoffice/libo_4_4/connectivity/source/commontools/dbmetadata.cxx:258 #5 0x00002aaacd6f8c7d in dbaui::OTableEditorCtrl::IsPrimaryKeyAllowed (this=0x2c72550) at /home/julien/compile-libreoffice/libo_4_4/dbaccess/source/ui/tabledesign/TEditControl.cxx:1318 The problem is I don't understand how this part works: 550 OTools::ThrowException(_pConnection, 551 (*(T3SQLGetInfo)_pConnection->getOdbcFunction(ODBC3SQLGetInfo))(_aConnectionHandle,_nInfo,&_rValue,sizeof _rValue,&nValueLen), 552 _aConnectionHandle,SQL_HANDLE_DBC,_xInterface); (see http://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/odbc/OTools.cxx#549) Indeed, after having typed several times "s"/"n" in gdb I don't find the function where "_rValue" might be changed. So "_rvalue" stays to 0 and we only have got "SQL_OSC_MINIMUM"" -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs