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

--- Comment #23 from Lionel Elie Mamane <lio...@mamane.lu> ---
(In reply to Julien Nabet from comment #21)
> Lionel:
> I retrieved sources of MariaDB odbc.
> In file ma_connection.c, in this function::
> SQLRETURN MADB_DbcGetInfo(MADB_Dbc *Dbc, SQLUSMALLINT InfoType, SQLPOINTER
> InfoValuePtr,
>                           SQLSMALLINT BufferLength, SQLSMALLINT
> *StringLengthPtr, my_bool isWChar)
> 
> I noticed this:
>    1169   case SQL_FILE_USAGE:
>    1170     MADB_SET_NUM_VAL(SQLUINTEGER, InfoValuePtr,
> SQL_FILE_NOT_SUPPORTED, StringLengthPtr);
>    1171     break;
> ...

Try changing on this line 1170 "SQLUINTEGER" to "SQLUSMALLINT". If my guess is
right, it will solve the problem.

-- 
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