To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=104088
                 Issue #|104088
                 Summary|UPDATE db record fails: [unixODBC][SQLite]out of memor
                        |y
               Component|Database access
                 Version|OOo 3.1
                Platform|All
                     URL|
              OS/Version|Unix, X11
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|none
             Assigned to|fs
             Reported by|rene





------- Additional comments from r...@openoffice.org Fri Aug  7 15:16:50 +0000 
2009 -------
>From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539642

--- snip ---
I'm using openoffice.org-base/unixodbc/sqlite3.  When I try to modify
data in columns and push "save current record" button,
dialog pops up: [unixODBC][SQLite]out of memory.

This is not occured under i386 architecture.

I think this is because type mismatch between 
ooo-build/build/OOO310_m11/connectivity/source/drivers/odbcbase/OTools.cxx
and unixodbc.

ooo-build/build/OOO310_m11/connectivity/source/drivers/odbcbase/OTools.cxx:

OTools::bindParameter (...., sal_Int8* pLenBuffer, ....)
....
{
  SQLINTEGER * pLen = (SQLINTEGER*) pLenBuffer;
  ...
  nRetcode = .... ->getOdbcFunction(...., pLen);
  ....
}

/usr/include/sqlext.h:
unixodbc-2.2.11/DriverManager/SQLBindParameter.c:

SQLBindParameter(...., SQLLEN *pcb_value)

According to /usr/include/sqltype.h,
under i386 architecture, SQLINTEGER == SQLLEN == long,
but under amd64 architecture, SQLINTER == int != SQLLEN == long.
--- snip ---

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org

Reply via email to