fix select
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@265 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
ae9c3660b8
commit
74f1a5310a
@ -571,7 +571,7 @@ init_dbtable(tr_fr_ptr trail_ptr) {
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
#define INSTRUMENT_GC 1
|
||||
/* #define INSTRUMENT_GC 1 */
|
||||
/* #define CHECK_CHOICEPOINTS 1 */
|
||||
|
||||
#ifdef INSTRUMENT_GC
|
||||
|
@ -70,10 +70,11 @@ socket_buffering(Sock, Flag, InSize, OutSize) :-
|
||||
var(OutSize), OutSize \= InSize, !,
|
||||
throw(error(instantiation_error,socket_buffering(Sock, Flag, InSize, OutSize))).
|
||||
socket_buffering(Sock, Flag, InSize, OutSize) :-
|
||||
'$convert_sock_buff'(InSize, InNumb),
|
||||
'$convert_sock_buff'(OutSize, OutNumb),
|
||||
'$socket_buffering'(Sock, Flag, InNumb, OutNumb),
|
||||
'$convert_sock_buff'(OutSize, OutNumb).
|
||||
'$convert_sock_buff'(InSize, InNumb).
|
||||
|
||||
'$convert_sock_buff'(V, V) :- var(V), !.
|
||||
'$convert_sock_buff'(unbuf, 1) :- !.
|
||||
'$convert_sock_buff'(fullbuf, _).
|
||||
|
||||
|
Reference in New Issue
Block a user