[freetds] [ freetds-Patches-1746864 ] new -w option for bsqldb(1)

SourceForge.net noreply at sourceforge.net
Fri Dec 28 09:42:35 EST 2007


Patches item #1746864, was opened at 2007-07-03 02:36
Message generated for change (Comment added) made by freddy77
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1746864&group_id=33106

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: application
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Medi (montaseri)
Assigned to: Nobody/Anonymous (nobody)
Summary: new -w option for bsqldb(1)

Initial Comment:
I will write the description such that it could be copied right into the man pages, serving multiple purposes

Options

-w n   This option instructs bsqldb(1) to pause or wait
       for n seconds between each request (or GO). This
       option allows developers to send a batch of
       requests to a server but pause for each request,
       perhaps to monitor the wire protocol or examine
       ends of the communication.

       Possible values are:
       If n is zero, then bsqldb(1) will pause forever
       prompting the user and requiring user action.
       if n is non-zero positive number, then each
       request is paused or throttled for n seconds.
       if n is non-zero negative number, (the default),
       no pausing takes place and bsqldb(1) operates at
       full speed (subject to road and env conditions).

Also, this is my first time doing this, so if you see some issues, let me know...

I started my code change based on freetds-0.64.tgz. I have only modified src/apps/bsqldb.c. Today I downloaded the HEAD version of this file (Rev 1.3) from the CVS and generated a diff against the two files (enclosed here).



----------------------------------------------------------------------

>Comment By: Frediano Ziglio (freddy77)
Date: 2007-12-28 15:42

Message:
Logged In: YES 
user_id=75766
Originator: NO

File Added: vedi2.diff

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1746864&group_id=33106


More information about the FreeTDS mailing list