2011-02-16 13:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/ads.ch
+ Added TOFIX regarding COMMIT cmd.
* contrib/hbtip/cgi.prg
! Fixed TOFIX where *nix specific temp dir was hard-wired into
multiplatform code. Pls test it.
This commit is contained in:
@@ -16,6 +16,14 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-02-16 13:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/rddads/ads.ch
|
||||
+ Added TOFIX regarding COMMIT cmd.
|
||||
|
||||
* contrib/hbtip/cgi.prg
|
||||
! Fixed TOFIX where *nix specific temp dir was hard-wired into
|
||||
multiplatform code. Pls test it.
|
||||
|
||||
2011-02-16 10:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/rddads/ads.ch
|
||||
! Restored deleted ADS commands.
|
||||
|
||||
@@ -285,8 +285,7 @@ METHOD StartSession( cSID ) CLASS TIpCgi
|
||||
ENDIF
|
||||
|
||||
IF Empty( ::cSessionSavePath )
|
||||
/* TOFIX: *nix specific default. [vszakats] */
|
||||
::cSessionSavePath := "/tmp/"
|
||||
::cSessionSavePath := hb_DirTemp()
|
||||
ENDIF
|
||||
|
||||
IF ! Empty( cSID )
|
||||
|
||||
@@ -294,7 +294,12 @@
|
||||
#command SET CHARTYPE TO <x:ANSI,OEM> ;
|
||||
=> AdsSetCharType( iif( Upper( <(x)> ) == "OEM", ADS_OEM, ADS_ANSI ) )
|
||||
|
||||
/* TOFIX: This command is clashing with std.ch one.
|
||||
Remove it after redirecting dbCommitAll()
|
||||
to AdsWriteAllRecords() on RDD level.
|
||||
[vszakats] */
|
||||
#command COMMIT => AdsWriteAllRecords()
|
||||
|
||||
#command BEGIN TRANSACTION => AdsBeginTransaction()
|
||||
#command COMMIT TRANSACTION => AdsCommitTransaction()
|
||||
#command ROLLBACK TRANSACTION => AdsRollback()
|
||||
|
||||
Reference in New Issue
Block a user