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

SourceForge.net noreply at sourceforge.net
Fri Jun 29 18:45:11 EDT 2007


Patches item #1745577, was opened at 2007-06-29 22:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1745577&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).



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

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


More information about the FreeTDS mailing list