Search found 49 matches: flush

Searched query: flush

by Carles
Mon Oct 23, 2023 4:17 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 9338

Re: DBF . Commit

... when any field is
accessed.
3. DBCOMMIT() writes all local modifications in table and
index files then it sends to system or file server request
to flush (write) its disk buffers to physical device (HARD
COMMIT). It's out of application control what OS (or FS)
do with such request.

The locking and ...
by nageswaragunupudi
Sun Oct 22, 2023 2:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 9338

Re: DBF . Commit

... of the buffer are written to the disk buffers of the OS, other client PC buffers can not be refreshed. So we are clear that simple Unlock is flushing data and index buffers to the disk buffers of the Windows OS. Ultimately any RDD finally writes the data to the disk using fwrite (or similar ...
by nageswaragunupudi
Sun Oct 22, 2023 11:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 9338

Re: DBF . Commit

... record buffer and the hard drive cache.


Yes.

But the documentation says it "hardwrites", same way like "commit".
In any case, (x)Harbour can flush its buffers to the OS buffers and but I doubt if (x)Harbour has an control over when the OS physically writes to the disk. But we can normally ...
by Otto
Sat Oct 21, 2023 8:58 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 9338

Re: DBF . Commit

... the cache is properly managed and synchronized.

The function cmxSys( 1002, .f. ), when set to false, would likely affect the automatic commit or flush operations that write the cache to the hard disk. However, the changes, as long as they are in the cache, should be visible to all users accessing ...
by karinha
Fri Oct 20, 2023 5:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 9338

Re: DBF . Commit

"
COMMIT

Perform a solid-disk write for all active work areas

Syntax:

COMMIT

Description:

COMMIT is a database command that flushes Harbour buffers and performs a solid-disk write for all work areas with open database and index files. The solid-disk write capability is available under DOS version ...
by mterraz
Wed Jul 12, 2023 4:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Webservice de .NET a Fivewin
Replies: 2
Views: 1201

Webservice de .NET a Fivewin

... As New StreamReader(responsedata)

response = responsereader.ReadToEnd

fsSoap = File.AppendText(sPathTmp)
fsSoap.Write(response)
fsSoap.Flush()
fsSoap.Close()

dDocXmlLectura.Load(sPathTmp)

buscarRespuesta = ""
sIdTransaccionControl = ""

Select Case sSwitchRoot
Case "Farmalink ...
by servicomver
Mon Jun 05, 2023 11:15 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Peticion POST a xHarbour
Replies: 3
Views: 815

Peticion POST a xHarbour

... DataOutputStream wr = new DataOutputStream ( conexion.getOutputStream() );
wr.writeBytes(urlParametros);
wr.flush();
wr.close();
//-----------------------------------------------------------------

//-----------------------OBTENER RESPUESTA ...
by Antonio Linares
Sat Oct 23, 2021 4:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: help on a GPF situation
Replies: 26
Views: 5192

Re: help on a GPF situation

... it (e.g.: GPF), it can happen that part of information of tracing
it is not written. This problem is avoided setting the environment
variable HB_TR_FLUSH to 1 (one). This makes that every time that one
record is sent to write, don't remain in the buffer, but rather it is
written in the file before ...
by rterraz
Fri Sep 17, 2021 6:49 pm
Forum: FiveWin para Harbour/xHarbour
Topic: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS
Replies: 9
Views: 10458

Re: HBSSL CON FUNCIONES DE DIEGO FAZIO INCLUIDAS

... LIB|sslsess
Error: Unresolved external '_SSL_CTX_remove_session' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_flush_sessions' referenced from C:\HB32\LIB\HBSSL.LIB|sslctx
Error: Unresolved external '_SSL_CTX_check_private_key' referenced from C:\HB32\LIB\HBSSL ...
by Antonio Linares
Fri Apr 30, 2021 12:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
Replies: 20
Views: 6992

Re: Speedtest CLIPPER vs. xHarbour - COMMIT

... 9YO3sx4r/speedtest-clipper-vs-xharbour-commit

dbCommit() make two things:
1. write application memory buffers to file.
2. send to OS request to flush disk buffers releated to open file.

The 1-st action is executed also by any other rdd operation which
may cause record reloading or may need to ...
by EBM
Fri Jun 22, 2018 8:51 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Como cierro las tablas abiertas en MySql
Replies: 1
Views: 567

Re: Como cierro las tablas abiertas en MySql

... cache.

When the cache contains more than table_open_cache entries and a table in the cache is no longer being used by any threads.

When a table flushing operation occurs. This happens when someone issues a FLUSH TABLES statement or executes a mysqladmin flush-tables or mysqladmin refresh command ...
by xmanuel
Mon May 07, 2018 5:48 pm
Forum: FiveWin para Harbour/xHarbour
Topic: TFBuffer, una clase para acelerar la escritura en ficheros
Replies: 7
Views: 2863

Re: TFBuffer, una clase para acelerar la escritura en ficheros

... a hacer una clase buffer desacoplada de ficheros.
Para eso sólo habría que cambiar dos cosas:
1.- El parámetro hFile
2. Y convertir el metodo ::flush() en Virtual y desarrollarlo en las clases heredadas y especializadas.

Con esto conseguiríamos una clase TStringBuffer() independiente de donde se ...
by hmpaquito
Mon May 07, 2018 7:40 am
Forum: FiveWin para Harbour/xHarbour
Topic: TFBuffer, una clase para acelerar la escritura en ficheros
Replies: 7
Views: 2863

Re: TFBuffer, una clase para acelerar la escritura en ficheros

... Si haces dos comportamientos dentro de la misma clase, el comportamiento String, el vaciado del buffer se haría externamente llamando al metodo flush.
Si lo haces con un codeblock, como lo tenía prototipado Carlos Mora, bien se le podría llamar bFlush, recibiría el parámetro de la cadena, a ser ...
by Colin Haig
Tue Feb 21, 2017 10:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin & web
Replies: 63
Views: 20634

Re: Fivewin & web

Hi Romeo

Go to Mysql bin folder and start Mysql.exe and type the following with your settings


GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
FLUSH PRIVILEGES;

or download HeidiSql application and there is a option to do this.

Colin
by TOTOVIOTTI
Mon Jul 27, 2015 7:52 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Comunicación de puerto COM con Impresora Fiscal
Replies: 8
Views: 2081

Comunicación de puerto COM con Impresora Fiscal

... de Facturas y demás comprobantes
fiscales. Me llegó la hora de pasarlas a FW, sólo que las funciones de ClipperTools, como COM_OPEN, COM_CLOSE, COM_FLUSH no funcionan.
Si he encontrado en el foro, que existen funciones como OpenComm,CloseComm,FlushComm, el tema es que necesito algunas funciones
más y ...