Menu

#120 new -w option for bsqldb(1)

closed-rejected
nobody
5
2008-09-08
2007-07-03
Medi
No

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).

Discussion

  • Medi

    Medi - 2007-07-03

    diff bsqldb.c my.bsqldb.c > bsqldb.patch

     
  • Frediano Ziglio

    Frediano Ziglio - 2007-12-28

    updated for 1.31

     
  • Frediano Ziglio

    Frediano Ziglio - 2007-12-28

    Logged In: YES
    user_id=75766
    Originator: NO

    File Added: vedi2.diff

     
  • Frediano Ziglio

    Frediano Ziglio - 2007-12-28

    Logged In: YES
    user_id=75766
    Originator: NO

    The only problem I see is that /dev/tty is not so portable... at least not work under windows...

    freddy77

     
  • Frediano Ziglio

    Frediano Ziglio - 2008-09-08

    Logged In: YES
    user_id=75766
    Originator: NO

    Rejected many time ago, use other methods.

    freddy77

     
  • Frediano Ziglio

    Frediano Ziglio - 2008-09-08
    • status: open --> closed-rejected
     

Log in to post a comment.