From 37ae4c1d7202fa7f66639c743fe5035f7a0f30e2 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 8 Jun 2008 10:25:01 +0000 Subject: [PATCH] one more minor to prev --- harbour/contrib/hbmysql/mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harbour/contrib/hbmysql/mysql.c b/harbour/contrib/hbmysql/mysql.c index 6b5a4a070a..1f259e2bb9 100644 --- a/harbour/contrib/hbmysql/mysql.c +++ b/harbour/contrib/hbmysql/mysql.c @@ -298,7 +298,7 @@ HB_FUNC( DATATOSQL ) static char * filetoBuff( char * fname, int * size ) { char * buffer = NULL; - int handle = hb_fsOpen( ( BYTE * ) fname, 2 ); + int handle = hb_fsOpen( ( BYTE * ) fname, FO_READWRITE ); if( handle != FS_ERROR ) {