Commit Graph

27 Commits

Author SHA1 Message Date
Andrzej J.R. Hunt
6fbff56dea Cleanup SAL_INFO debugging output.
Change-Id: I7d9a94e42da24557a986a0613bcfcbf1234b952d
2013-07-18 16:21:41 +02:00
Andrzej J.R. Hunt
630c95503c Refactor row number access.
Change-Id: I876c4ee1a0d5daed5ff9ed09b4d37babb0029612
2013-07-18 16:21:40 +02:00
Andrzej J.R. Hunt
95ee08a98b Improve formatting of firebird-sdbc error messages.
Change-Id: I5892b8bd6dd2d63655dbc0781aa038b60546317b
2013-07-18 16:21:40 +02:00
Andrzej J.R. Hunt
c28b720186 Refactor FStatement to use transactions from Connection.
Also some furthe cleanup of various parts of firebird-sdbc.

Change-Id: I008e1011632d628633f34c0893e656be054de637
2013-07-18 16:21:39 +02:00
Andrzej J.R. Hunt
f2ef6605e2 Make m_aMutex a member variable rather than base type.
Change-Id: I91491af582b57ae602b89a971ccbe5e4901834bf
2013-07-17 08:07:22 +02:00
Andrzej J.R. Hunt
6af7d0675d Fix warnings for firebird-sdbc.
Mostly unused parameter warnings for unimplemented methods. Done in preparation
for merging to master to allow for building with -Werror.

Change-Id: Ie54f0a642189f5e221919252ec7df5897974ab95
2013-07-16 16:40:17 +02:00
Andrzej J.R. Hunt
2d2147742e Implement first part of FDatabaseMetaData.
Change-Id: I6dae1f2ecf265333c121f419c0041dd7525efa9e
2013-07-16 16:40:15 +02:00
Andrzej J.R. Hunt
c3ed455e04 Remove unnecessary catalog state (unsupported in firebird).
Change-Id: I34a7a245eb87a5b0d626be4008e2584774e82cf3
2013-07-16 16:40:14 +02:00
Andrzej J.R. Hunt
091b5dfcee Clean up and remove warnings for unsupported methods.
Change-Id: Id1a6c3c438c88791654ca9f301dbc7763caebeab
2013-07-16 16:40:14 +02:00
Andrzej J.R. Hunt
a066f9e3b9 Implement transaction isolation in firebird-sdbc.
Change-Id: Id18c26cbd62b2cf9573ffafcd3da0041c2d8e9c5
2013-07-16 16:40:14 +02:00
Andrzej J.R. Hunt
25772a93fa Make db location a static member variable.
Change-Id: I138c18839f2816baae24ef84eb08dbb71cce2948
2013-07-16 16:40:13 +02:00
Andrzej J.R. Hunt
34d60277c2 Implement readonly support in firebird-sdbc.
Change-Id: Ifdb235a3772b92b7064d059700084f75d468d146
2013-07-16 16:40:13 +02:00
Andrzej J.R. Hunt
66a716a57a Add auto-commit support to firebird-sdbc, enabled by default.
Change-Id: I0303cc8df281c70973ee10dd67d23757cc7bd97a
2013-07-16 16:40:13 +02:00
Andrzej J.R. Hunt
a3818b52cd Cleanup warnings in FConnection.
Unused parameter warnings remain as these methods are still to be implemented.

Change-Id: I38ec0a895112766ecae322fdf9c07dea11e60c59
2013-07-16 16:40:12 +02:00
Andrzej J.R. Hunt
7c3560f50f Write embedded .fdb into Storage for OnSave & OnSaveAs.
Change-Id: I2534378c48253584904d11bf049d5d4a05c300dd
2013-07-16 16:40:12 +02:00
Andrzej J.R. Hunt
031009ef27 Implement DocumentEventListener in firebird_sdbc driver.
Change-Id: I7e0c9abcb9822e673ba1e93c1d8bf4d177baae0f
2013-07-16 16:40:12 +02:00
Andrzej J.R. Hunt
67ff964ca1 Create new fdb and/or extract from .odb as appropriate.
Change-Id: I99dd3300c2a7e903bc924b15c4fea2fd3ad4abb8
2013-07-16 16:40:11 +02:00
Andrzej J.R. Hunt
002e9c5a83 Fix firebird installation (windows) + driver compilation fixes.
Change-Id: I253a2770c951a984bd50c906b0e84feeb8d105d9
2013-07-16 16:40:10 +02:00
Andres Gomez
8c325831b3 fb-sdbc: Pretty printing table log output 2013-07-16 16:40:09 +02:00
Javier Fernandez
7f38b8d6a4 Refactoring some code on the FStatement class.
Change-Id: Id172dde2f35538ac37b632f738fe5c2a87437832
2013-07-16 16:40:07 +02:00
Andres Gomez
0f9d8be009 fb-sdbc: Added logging support
Remember that in order to enable the logging
output it is needed to properly set the SAL_LOG
environment variable.

For example:

$ SAL_LOG="+INFO.connectivity.firebird" solver/unxlngx6/installation/opt/program/soffice.bin
2013-07-16 16:40:06 +02:00
Andres Gomez
8229f77f55 fb-sdbc: test file moved to a generic place 2013-07-16 16:40:06 +02:00
Javier Fernandez
b0591b3804 Adding debug info for tracking disposes and fixed a memory allocation bug.
Change-Id: Iae8a6dac26fd7d074ece6421ae61ecf7ce047b8f
2013-07-16 16:40:05 +02:00
Javier Fernandez
5406054026 Adding disposing bits.
Change-Id: I997c23d0c0765a6929be89087330ac6616ccd28c
2013-07-16 16:40:05 +02:00
Javier Fernandez
cf92192168 Properly implementing the connection construction.
Change-Id: I6bb114d871697483a1a4246496f73252e5307534
2013-07-16 16:40:04 +02:00
Javier Fernandez
d6855a708c Debug info and some API methods implementation.
* getTypeInfo
  * getTables
  * prepared statements.

Change-Id: I549f4a9468b5346e22479363fe0fb81039bc6665
2013-07-16 16:40:04 +02:00
Javier Fernandez
f53228c59a Firebird: initial implementation of the skeleton driver.
Change-Id: I45087282fe7b7fc5bcebeeb2bbb79d0db1e043bd
2013-07-16 16:40:03 +02:00