sqsh 2.1 and command prompt

Steven J. Backus backus at math.utah.edu
Tue Nov 27 14:40:40 EST 2001


  The new sqsh had a cool command prompt, something like:

<server name> <database name> <command #>>

When I use freetds the database name doesn't show up until I do a
use <database name>.  Has anyone got a clue about this?  From the
sqsh source file cmd_connect.c I see:

/*
 * On some systems, if the charset is mis-configured in the
 * SQL Server, it will come back as the string "<NULL>".  If
 * this is the case, then we want to ignore this value.
 */

which could lead to this behavior, but I could be wrong.

Thanks,
  Steve



More information about the FreeTDS mailing list