Hi Viktor,
------------------------------
Message: 2
Date: Thu, 04 Feb 2010 08:31:34 +0000
From: vszak...@users.sourceforge.net
Subject: [Harbour] SF.net SVN: harbour-project:[13761] trunk/harbour
To: harbour@harbour-project.org
Message-ID:<e1ncx7e-00015e...@sfp-svn-2.v30.ch3.sourceforge.com>
Content-Type: text/plain; charset=UTF-8
Revision: 13761
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13761&view=rev
Author: vszakats
Date: 2010-02-04 08:31:32 +0000 (Thu, 04 Feb 2010)
Log Message:
-----------
2010-02-04 09:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbfbird/firebird.c
+ Added GC collected object for db connection.
* Replaced HB_RETNL_FBERROR() with actual code to make
code flow apparent.
* Replaced DIALECT constant with Firebird predefined one.
! Fixed to use ISC_STATUS_ARRAY instead of status arrays
with arbitrary sizes like MAX_FIELDS.
+ Throwing RTEs if non-db pointer is passed in places
where it is required.
* Adjusted scope of some variables.
! Fixed several leaks in FBQUERY().
% Optimized to use hb_xrealloc() instead of using
subsequent hb_xfree()/hb_xgrab() calls.
% Other optimizations.
+ Added TOFIX to more memory leaks.
! Fixed FBGETDATA() to not crash when NULL pointer is passed.
! Fixed FBGETDATA() to not crash when negative position
parameter is passed.
; TOFIX: Convert remaining memory objects to GC collected
ones. Unfortunately the code is quite dirty in this
respect, so it require more serious rewrite in places.
; TOFIX: Address TOFIXes in code.
; Please test it, I don't use this, and didn't make
functional tests.
* contrib/hbfbird/tests/test.prg
+ Displays error on connection failure.
* Formatting.
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/contrib/hbfbird/firebird.c
trunk/harbour/contrib/hbfbird/tests/test.prg
I was able to compile and run only the simple.prg successfully under
WinXP/BCC58.
Thanks and best regards,
Mario
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour