Age | Commit message (Collapse) | Author |
|
Noticed by the MS linker when doing link-time code generation (!). In
all cases, a "return" after a call to a function that always throws an
exception. To avoid other compilers perhaps warning about missing
return of a value, put the "returns" inside ifdefs.
Change-Id: I83aa04cb5c3ff8413d3ed4dc85fb57f2a41fd589
|
|
These two methods don't seem to be used at all within the LO codebase.
They are also extremely complicated to implement hence will be left for
later implementation -- my part implementation will be put on the wiki
firebird page.
Change-Id: I72922a4f3c4705fdcc3bbca140d6df64a1e16253
|
|
Change-Id: Iab163debab1513369b75183efdaa3c03f7193a70
|
|
Change-Id: Iee897766841af980d93aeb73255c82851172601a
|
|
Change-Id: Ic3e96eebbb914c5b905a8c58532ead9cb01dd41d
Reviewed-on: https://gerrit.libreoffice.org/5721
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I8a37b482ca4abb440691b2490e43ecd93a8dbbc5
|
|
This is a follow up commit to
- 22d1beb78a475e4846af945afde1c4d6c263b5d6
- 1c7af455ab9345304a7ac48ce2e0310de2ac8a75
Change-Id: I55ff666c357c89ad355a1a5bc0d0347fcc188476
|
|
This is a follow up commit to
- 22d1beb78a475e4846af945afde1c4d6c263b5d6
- 1c7af455ab9345304a7ac48ce2e0310de2ac8a75
Change-Id: I7a67c3768c0d7e36784ee88fc46680037acb244d
|
|
This is a follow up commit to
- 22d1beb78a475e4846af945afde1c4d6c263b5d6
- 1c7af455ab9345304a7ac48ce2e0310de2ac8a75
Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
|
|
Otherwise firbird fails to load databases since it can't access a url.
Change-Id: I1bebc6fa18c2d1920291dcf5a7300009ede4452a
|
|
Change-Id: Ief7ec180e3787a3354e2034693052ebf05a30e81
|
|
Change-Id: I58907d42ec9e1b4098e2947fdb89b1ab264358a6
|
|
We have a char* pointing to arbitrary data hence we need to cast
to the right type, othwerwise we retrieve the first byte only.
Change-Id: I6d3d08d15105a506c140044008c5255a8a8e4c39
|
|
Change-Id: Ibf3bc34f316c0a299afc2e015ff4c49ad57099a5
|
|
Change-Id: I22abb334a337ae2e25188ae43696789d37ecd7d4
|
|
Change-Id: Ia519b2ec9c6be94f6f21bbd2951a295da8079479
|
|
Currently firebird uses /tmp and C://temp/ as default temporary directories,
both of which can be incorrect. Instead we now pass the correct temp
directories to firebird.
Change-Id: I807a47475e76600365e7a2ccfa78d755621dedb7
Reviewed-on: https://gerrit.libreoffice.org/5678
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
|
|
Change-Id: I584a410d90531a0f7b784e62f94c39e715713cf1
|
|
Change-Id: I0c009a99061de787cd250912406a74a75fbc260a
|
|
We will also want to pass structs etc. into setValue hence we should pass
by reference.
Change-Id: Ia8aa02ca14414003c33cd8d070510759091b5ec9
|
|
Change-Id: Icf4746d70488bec20b4c47fc65fa989cfe90992b
|
|
e.g. when growing m_aRow from size 3 to size 10
(that is, columnIndex==9),
the old code was initialising only position 9
while it we need to initialise all new positions,
that is positions 3 to 9.
Change-Id: I6a51b816104e33fdd7773b68e254e9bea50110ef
|
|
fillColumn is the only caller of impl_getBookmark, so all necessary
setup (in particular ensureCacheForColumn) is already done, and
does not need to be done in impl_getBookmark again.
Change-Id: Ic78b7dabd7c536abd9ed956baa178d685a63f713
|
|
Change-Id: I70d5ab9bacdeabe6c4edf6f70a9ba283b46c180f
|
|
Change-Id: I99bac2cfde956d2b91dce33fc12ce9044a9c219a
|
|
Change-Id: Id5e2aab669ba047e9ecb392187aae7c4aa384dda
|
|
Change-Id: Ic27e886643128edeb5b2d5c81e86681f4dd8d33b
|
|
Change-Id: I88f47ee442ade499c7f4018ce8b1ffe54b362067
|
|
Change-Id: I8a6c9f335574196a50827db7eb44b82f9ea4df16
|
|
Change-Id: I9fd53a5e8b5d1dba467fa8064f9f2ea1b93f26df
|
|
Change-Id: I234b8f136b90f56c689553d0df8ec2d473a92225
|
|
Change-Id: Ia543f34344915c4621ba0c6ce6984dce7ca9e08b
|
|
This also simplifies Statement, although not using execute_immediate
is somewhat less efficient.
Change-Id: I4bebe13e5a63cb02e6b2659dec534f0c6feeba52
|
|
Change-Id: Ied47f421dc801bb6790bed49b28d3231844e6ee5
|
|
Change-Id: Ia3bd53402d436e296005f4f93113cc08daea2421
|
|
Change-Id: Iae4850739c329a7b04f8eea75047ab75465e3dea
|
|
SQLFetchScroll uses the bound columns, and writes to them.
This has two problems:
1) For non-bookmark columns, this happens in our buffers,
and at first sight could be innocuous.
However, it allows the driver to disallow us to use
SQLGetData on the same columns, which we intend to do...
2) For bookmark column, the "read bookmark from" and
"write bookmark to" buffers end up being the same.
This unnecessarily exposes us to driver bugs in this corner case.
Change-Id: I594d34cf5a64564766f06b49c86f8737961573c0
|
|
the buffer (aBookmark) is written to by SQLBulkOperations or
SQLSetPos, not by SQLBindCol, which merely sets up the instruction
that the next call should write there. So its finak size is known
only *after* the call that makes the write, obviously.
Change-Id: I4faaaeffc060433645188f0eda3d9958b087cf6c
|
|
This code was completely inverted. The row update operation
*reads* a bookmark (that is, what row to update), not *writes*
a bookmark.
So we were passing an empty bookmark, and thus the update was failing
because we were refering to a non-existent row.
Change-Id: I676b1a7727a88e13a3e465bd96cbbaf18dad2fa6
|
|
Change-Id: I9036539204789d0886a51fcbc3d821012cc9eaee
|
|
Change-Id: I6500a7666ad2fc2ffcb29934d6f2b36761867950
|
|
Change-Id: If2f2041b0f072f36fe56e92b9e54bbb0be8a5860
|
|
Change-Id: If8558fb53acd1175fa3fd8724a5febca4286abe6
|
|
If this is incorrectly (or randomly set) then firebird will end up just
ignoring any input parameters (previously the case). The documentation
claims that -1 is the null indicator, however the inevitably-random
values previously provided (from malloc) also caused firebird to treat
all input data as null.
Change-Id: I79b9704df0a307ec493e74e782551b9b0ff109a2
|
|
Change-Id: Iec5c5a434a371d73bba0345362f991a948d28c6a
|
|
Trying to reuse a statement that still has an open cursor leads to
errors -- in this usage isc_free_statement doesn't actually free
the statement but simply closes the db-internal cursor used by
that statement previously.
Change-Id: Iedbe42bc46e6b6f972b7b19f17a60d5f59bae28c
|
|
Change-Id: Ief966fb9bd9f3344cfe9f3b4c4b37540e00ad063
|
|
Change-Id: Iec8e72a6236de83a1698e2d6e9dbcb609f0f858f
|
|
Change-Id: I74bf84c8aae4d4ba6b9a2a9ca497ed0cbc092d35
|
|
Change-Id: I3b9f8c7199e66f90e1573069996962294793d95e
|