Hello,

 As I'm still struggling with the ODBC backend I decided to see whether
Firebird backend could be used for my testing for now. Initially it didn't
seem so good as it didn't even compile but fixing compilation was simple
enough and other than that it seems to work fine so far, especially
compared to the ODBC backend.

 Below is a pull request for the patches fixing compilation and also
implementing get_affected_rows() that I need for this backend. You may
prefer to not apply the "Don't use deprecated isc_interprete() in Firebird
backend." commit as this only works with Firebird 2.x but OTOH I don't
think anybody still uses 1.x and also considering that compilation was
broken for all Firebird versions since several years, it's probably not
such a big problem.

 Anyhow, here they are:

============================================================================

The following changes since commit 20b3a6a09d9129ccda82023a367ef6ae94a6e51e:

  add patch from Olaf Bonorden (2012-05-21 08:32:43 +0200)

are available in the git repository at:

  git://github.com/vadz/soci-experiments.git firebird-fixes

for you to fetch changes up to f2715775459eed8fbb04ee6dc4758389decca300:

  Implement get_affected_rows() for SOCI Firebird backend. (2012-05-23 20:33:14 
+0200)

----------------------------------------------------------------
Vadim Zeitlin (5):
      SOCI Firebird backend compilation fix: don't use x_cstring.
      Fix x_integer handling in SOCI Firebird backend.
      Compilation fix for ISC_STATUS use in Firebird backend.
      Don't use deprecated isc_interprete() in Firebird backend.
      Implement get_affected_rows() for SOCI Firebird backend.

 src/backends/firebird/error-firebird.cpp     |    6 +++---
 src/backends/firebird/standard-into-type.cpp |   21 ++++++---------------
 src/backends/firebird/standard-use-type.cpp  |   15 ---------------
 src/backends/firebird/statement.cpp          |   58 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 4 files changed, 65 insertions(+), 35 deletions(-)
============================================================================

 Please let me know if you prefer the patches to be submitted via email, I
thought it would be more convenient to submit them like this as there is
more than one of them.

 Thanks,
VZ

Attachment: pgpxFw6xn2eT5.pgp
Description: PGP signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to