Changeset 32
- Timestamp:
- 10/30/2008 10:37:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SH_SHM/trunk/source/seed_io/sfd2db.c
r28 r32 3 3 * ======== 4 4 * 5 * $Revision: 1 3 $, $Date: 2008-01-18 10:01:21 +0100 (Fr, 18Jan 2008) $5 * $Revision: 17 $, $Date: 2008-01-30 15:59:13 +0100 (Mi, 30 Jan 2008) $ 6 6 * 7 7 * reads lines from sfdfile and creates commands to insert into sfdb database … … 192 192 } /*endif*/ 193 193 fclose( fp ); 194 sprintf( shellcmd, "%s \"insert into pathtab values ( \'%d\', \'%s\' )\"",194 sprintf( shellcmd, "%s \"insert into pathtab values ( %d, \'%s\' )\"", 195 195 sfdbreq, pathid, abspath ); 196 196 /*printf( "--> executing %s\n", shellcmd );*/ … … 313 313 /*sprintf( shellcmd, "cat %s", tmpfile );*/ 314 314 /*system( shellcmd );*/ 315 sprintf( shellcmd, " mysql sfdb <%s", tmpfile );315 sprintf( shellcmd, "sql sfdb <%s", tmpfile ); 316 316 /*printf( "--> executing %s\n", shellcmd );*/ 317 317 system( shellcmd );
Note: See TracChangeset
for help on using the changeset viewer.