[Firebug-cvs] fireboard/beta/tools/src/xlisten xdb.c,1.6,1.7
Brought to you by:
doolin
From: David M. D. <do...@us...> - 2005-06-19 23:04:01
|
Update of /cvsroot/firebug/fireboard/beta/tools/src/xlisten In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27594 Modified Files: xdb.c Log Message: Command line specified database now inherits from the firebug template, so all the tables are automatically created. Index: xdb.c =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/tools/src/xlisten/xdb.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** xdb.c 19 Jun 2005 22:28:33 -0000 1.6 --- xdb.c 19 Jun 2005 23:03:53 -0000 1.7 *************** *** 195,200 **** int errno; char command[256]; ! char * statement = "create database %s"; ! sprintf(command,statement,dbname); errno = xdb_execute(command); } --- 195,200 ---- int errno; char command[256]; ! char * statement = "create database %s template %s"; ! sprintf(command,statement,dbname,g_dbname); errno = xdb_execute(command); } |