Stephan Bergmann
c0bd59c15b
loplugin:nullptr (automatic rewrite)
...
Change-Id: Iefeeb51c2b101c097a8d77a4625f84baf1f2da44
2015-11-10 10:31:20 +01:00
Noel Grandin
cb4fa1d1e2
use uno::Reference::set method instead of assignment
...
Change-Id: I080668f86f0ab8b3bba857ee21411f907ae285c4
2015-10-30 11:08:36 +02:00
Feyza Yavuz
1ec9daed1d
tdf#65108 "" instead of <> written in include line
...
Underwent the same process under the connectivity/source/drivers/firebird/
Change-Id: Id64b1f52a2f19cb91590bebe80a2f6aea70cc9ee
Reviewed-on: https://gerrit.libreoffice.org/19137
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2015-10-12 13:01:41 +00:00
Stephan Bergmann
373a9b9bb6
loplugin:redundantcast: redundant const_cast followed by implicit upcast
...
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-13 12:36:36 +02:00
Stephan Bergmann
31e24f487e
Remove redundant Reference<> from within UnoType<> uses
...
Change-Id: I1aeb9c73c284e39f371e49ded98e8dba0d055056
2015-04-01 10:42:57 +02:00
Stephan Bergmann
17e74bf1a0
Replace remaining getCppuType et al with cppu::UnoType
...
Change-Id: Id2361bd7b50f4724211661b024583b8a3445500b
2015-04-01 08:36:20 +02:00
Stephan Bergmann
1b42acc95e
Clean up C-style casts from pointers to void
...
Change-Id: I6c7c31befd61cbf0800a62c08e7395ddf78e4b30
2015-03-28 19:09:18 +01:00
Noel Grandin
0371a63365
remove unnecessary 'using namespace rtl' declarations
...
It turns out that almost none of them were necessary.
Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83
Reviewed-on: https://gerrit.libreoffice.org/12133
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-10-29 11:28:54 +00:00
Michael Stahl
137131b1e0
connectivity: firebird: fix Connection leak in OStatementCommonBase
...
bin/refcount_leak.py was very helpful here.
Change-Id: I61dc57408cf1533f733c08b701884851ec6afb8d
2014-10-21 15:08:51 +02:00
Norbert Thiebaud
f7453024e1
fdo#80574 firebird memory management issues
...
Change-Id: I37438cd3f9c8e197e5a3aa3d9cbcc5bf3681d792
2014-06-27 23:37:51 +02:00
Julien Nabet
0acd0ed3a5
Related fdo#79714 OSX-crash opening query or table in embedded Firebird ODB
...
See https://bugs.freedesktop.org/attachment.cgi?id=100839 and other comments
Change-Id: I1187b171caf54997f5e8850ade4a3fb35ad9ec29
2014-06-11 19:24:03 +02:00
Julien Nabet
0fadbdbbdb
Kill DECL_PROP0 and the rest + clean propertyids.hxx
...
Change-Id: I872bc07ff9b1fe96a35e06ad3c5d8aaa75199bdd
2014-05-12 22:54:33 +02:00
Noel Grandin
199d333f13
connectivity: sal_Bool->bool
...
Change-Id: I96371121ce6697f153f4e973e65831ea2265eb56
2014-04-16 11:51:51 +02:00
Stephan Bergmann
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
0ce0c369aa
Remove unneccessary comments
...
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-23 03:38:49 +00:00
Andrzej J.R. Hunt
87bd0c8c8f
Reintroduce Statement specific mutexes. (firebird-sdbc)
...
This replaces the erronous Connection wide mutex. Libfbembed
is multithreaded hence we don't need a connection wide mutex.
Change-Id: Ifae79cdefecfe6597a535e36bda318563092bf6c
2013-09-10 19:52:00 +01:00
Andrzej J.R. Hunt
5b74c6563c
Cleanup Connection and rename from OConnection. (firebird-sdbc)
...
Change-Id: I06cfdc29d7613638d3cea080e7b39c67c74d4de0
2013-09-09 19:52:27 +01:00
Andrzej J.R. Hunt
73aaa4da67
Implement retrieving change count for executeUpdate. (firebird-sdbc)
...
Change-Id: Ied47f421dc801bb6790bed49b28d3231844e6ee5
2013-08-27 20:58:31 +01:00
Andrzej J.R. Hunt
985df3aa86
Free SQLDA if statement preparation fails. (firebird-sdbc)
...
Otherwise we are left with an invalid sqlda which cannot be safely
used later.
Change-Id: I506a17266da798fa6ed46c65f3838bb8fafbe241
2013-08-16 21:13:14 +01:00
Andrzej J.R. Hunt
75b2c92cfb
Improve exceptions in Statement.
...
Change-Id: Ib1915c143abee8c9162477da07462a68dd45e03c
2013-08-11 16:05:09 +01:00
Andrzej J.R. Hunt
6044f52c5e
Improve statement handle handling.
...
Change-Id: I81809634600c580bb50843e697071d62bc6802a4
2013-08-11 16:05:08 +01:00
Andrzej J.R. Hunt
54a138db91
Commit after DDL statement. (firebird-sdbc)
...
Changes made in a DDL statement are only usable after a
commit in firebird, e.g. a created table won't appear etc.
Change-Id: I3b537f495b6bc96fa48ebc1a3e46205da60bb2d4
2013-08-07 18:23:37 +01:00
Andrzej J.R. Hunt
ebe37593c5
Clean up ResultSet management. (firebird-sdbc)
...
Change-Id: I00cd0aa08a5a3da17f06933ebc3422a6b4b8bc74
2013-08-07 18:23:37 +01:00
Andrzej J.R. Hunt
da25756ba9
Remove unnecessary F- prefix for firebird-sdbc files.
...
Change-Id: I6574ef7fd1c26770a74b2d1f2b0d997fcca97779
2013-07-31 16:06:58 +02:00
Andrzej J.R. Hunt
a2af2407ae
Update licence headers / rebase on APL'd skeleton driver (firebird-sdbc)
...
The firebird driver was created on the basis of the skeleton driver
(odk/examples/DevelopersGuide/Database/DriverSkeleton/). This is under
BSD licence within the LO codebase but was relicenced as ALV2 within AOO.
(see http://svn.apache.org/viewvc?view=revision&revision=1239200 )
MPL added as all my changes to the driver are released as MPL.
Change-Id: Iea22043281fbc16f6813ce97dce449b10914a91d
2013-07-29 12:55:51 +01:00
Andrzej J.R. Hunt
5d7573df1d
Remove unneded string sanitisation (firebird-sdbc).
...
This was only needed because of the incorrect sql dialect
previousy used which didn't permit quoted identifiers.
Change-Id: I31b50add0363f14c8a8cc228f3dfbe084fe42d1c
2013-07-24 20:36:01 +02:00
Andrzej J.R. Hunt
dc318a3568
Define SQL dialect driver-wide and change to 3. (firebird-sdbc)
...
Previously the driver used firebird sql dialect = 1 (IB 5.5 or earlier)
however we need support for delimited identifiers, DATE, TIME, TIMESTAMP
etc. which are all available from IB6 onwards ie. sql dialect 3. Currently
this is the latest dialect supported by firebird.
Change-Id: Ia2302bf69bda877d81f8995843cce6c606e7ed43
2013-07-24 20:36:00 +02:00
Andrzej J.R. Hunt
cacb32caab
Clean up naming of OStatement_Base etc. (firebird-sdbc)
...
Change-Id: I4cb81565ae2fa6efd434e6e789f16fab90d0ae4a
2013-07-23 19:29:06 +02:00
Andrzej J.R. Hunt
ed9dac3baf
Move Statement specific methods out of common base. (firebird-sdbc)
...
Change-Id: If85f7f419b7c67bc84f8a74422cc8c9080a34353
2013-07-23 19:29:06 +02:00
Andrzej J.R. Hunt
2b541c928c
Move Statement_Base into it's own file (firebird-sdbc).
...
This is in preparation of cleanly separating the code shared
by PreparedStatment and Statement from the code unique to either
of those classes.
Change-Id: I419668044e67b25d492a381acab9ee9b1acce7ce
2013-07-23 19:29:05 +02:00