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
1e7ce14b7f
Use throwFunctionNotSupportedException as appropriate. (firebird-sdbc)
...
Change-Id: Ia2eb42ea2bf0f70a6d1fef29438a43a7a2f69388
2013-09-06 21:27:57 +01:00
Andrzej J.R. Hunt
08ea5af067
Keep a TempFile instead of using TempFile::CreateTempName.
...
This ensures that the enclosing directory is kept while we work with
it.
Conflicts:
connectivity/source/drivers/firebird/Connection.cxx
Change-Id: I5c095d481414e345cf05efc3d40d314f8f40ed12
Reviewed-on: https://gerrit.libreoffice.org/5814
Tested-by: Caolán McNamara <caolanm@redhat.com >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
2013-09-06 19:38:08 +00:00
Andrzej J.R. Hunt
508d1bf7df
Use the user specific tmp directory for firebird.
...
osl::FileBase::getTempDirURL uses the general tmp directory which
can be the system wide directory (i.e. /tmp). This can lead to conflicts
e.g. if we have multiple instances each trying to create /tmp/firebird.
Instead we use ::utl::TempFile which uses a user-specific directory (as a
subdirectory of what osl::FileBase::getTempDirURL provides), in which we
can have the FIREBIRD_TMP and FIREBIRD_LOCK directories.
Change-Id: Ic868f12b0a56900eac75f2418986193dd5fe0f10
Reviewed-on: https://gerrit.libreoffice.org/5797
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-09-06 19:33:28 +00:00
Andrzej J.R. Hunt
b991d27d3d
CID#1079053 Uncaught Exception.
...
In this case we can just propagate the DeploymentException (is a
RuntimeException).
Change-Id: Ic807ec039af3856f90d4e798e1304a72421b4db6
2013-09-06 08:41:01 +01:00
Andrzej J.R. Hunt
525bb53ab8
CID#1079054 Uncaught exception.
...
In this case we should just propagate the DisposedException to the caller.
Change-Id: I3c2699ad6c2144007d98447b133cdbb13f5d50d9
2013-09-06 08:41:01 +01:00
Andrzej J.R. Hunt
d153993e87
Add error checking in rebuildIndexes. (firebird-sdbc)
...
Change-Id: If59c9fe7d7253347717aeb5b1aadf212b7d536a6
2013-09-06 08:41:00 +01:00
Caolán McNamara
c2b18aa774
WaE: unused variable
...
Change-Id: Id360f83149ba281c806e4c71ba283603f4480954
2013-09-05 15:39:12 +01:00
Andrzej J.R. Hunt
2e31c305a3
Actually rebuild indexes in rebuildIndexes. (firebird-sdbc)
...
Change-Id: I76ac3b261bce830879f17e82ddd22a9f4d957f11
2013-09-06 13:46:49 +01:00
Andrzej J.R. Hunt
4ef1215d6a
Retrieve all char indexes for rebuildIndexes. (firebird-sdbc)
...
This provides the SQL SELECT statement necessary to retrieve all the indexes
needing rebuilding.
Change-Id: I07661277682f83dc3f2d33a398abd83593c9928d
2013-09-06 13:46:49 +01:00
Andrzej J.R. Hunt
88d74f35c2
Create Catalog to deal with sdbcx details. (firebird-sdbc)
...
Change-Id: I521db652157e6b6da79e70f3731b6eddfc2bab1d
2013-08-12 17:20:22 +01:00
Andrzej J.R. Hunt
64deb339a9
Implement getTables(). (firebird-sdbc)
...
Change-Id: I6b13fe51547ac5a51a03bf9b55f8e684275652cb
2013-08-12 17:20:22 +01:00
Andrzej J.R. Hunt
8d1842d4d5
Don't change calling convention.
...
Change-Id: I7fb6aa3337983f6e9dd7adb6d92a47c258d0bebe
2013-08-11 16:34:54 +01:00
Andrzej J.R. Hunt
464a0b5000
First chunk of skeleton sdbcx.Container. (firebird-sdbc)
...
Change-Id: Ic92c4d13b0ed9aba622d3a2459f9677d8cce3245
2013-08-11 16:05:10 +01:00
Andrzej J.R. Hunt
89b37927c0
Add error checking to commit(). (firebird-sdbc)
...
Change-Id: I0717fad287f95d510d044055edc11737fde0c505
2013-08-07 18:23:37 +01:00
Andrzej J.R. Hunt
211094992c
Fix transaction creation when autocommit disabled. (firebird-sdbc)
...
Change-Id: I190a90e9821961c4e972ec26ac282b05fd375d4b
2013-08-07 18:23:36 +01:00
Andrzej J.R. Hunt
cc1e1e9509
Only write db to file if we are embedded. (firebird-sdbc)
...
Change-Id: If6126a8005d666c0c1355efc2a887519da37c891
2013-08-02 15:39:52 +02:00
Andrzej J.R. Hunt
03528afc5c
Clear Statements as appropriate. (firebird-sdbc)
...
Change-Id: Ied90fe623dff284179c88ae77392d641ba0b004b
2013-08-02 15:39:52 +02: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