Changeset 45


Ignore:
Timestamp:
30.10.2008 22:51:58 (11 years ago)
Author:
marcus
Message:

r30 | svn | 2008-02-23 23:36:22 +0100 (Sa, 23 Feb 2008) | 1 line

read output file of ingres database

Location:
SH_SHM/trunk/source/seed_io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/source/seed_io/seed_lib.c

    r34 r45  
    33 *      ========== 
    44 * 
    5  * $Revision: 19 $, $Date: 2008-02-01 17:53:55 +0100 (Fr, 01 Feb 2008) $ 
     5 * $Revision: 30 $, $Date: 2008-02-23 23:36:22 +0100 (Sa, 23 Feb 2008) $ 
    66 * 
    77 * SEED library 
     
    744744                                from_db = TRUE; 
    745745                                continue; /* first line in db file contains no data */ 
     746                        } else if  (strncmp(line,"INGRES TERMINAL",15) == 0)  { 
     747                                from_db = TRUE; 
     748                                /* this is ingres output; skip this stupid header */ 
     749                                fgets(line,Seed_C_SFDLINELTH,sfd);  /* this is: Ingres 2006 Linux ... */ 
     750                                fgets(line,Seed_C_SFDLINELTH,sfd);  /* this is: date */ 
     751                                fgets(line,Seed_C_SFDLINELTH,sfd);  /* this is: blank line */ 
     752                                fgets(line,Seed_C_SFDLINELTH,sfd);  /* this is: continue */ 
     753                                fgets(line,Seed_C_SFDLINELTH,sfd);  /* this is: * Executing ... */ 
     754                                fgets(line,Seed_C_SFDLINELTH,sfd);  /* this is: blank line */ 
     755                                fgets(line,Seed_C_SFDLINELTH,sfd);  /* this is: blank line */ 
     756                                fgets(line,Seed_C_SFDLINELTH,sfd);  /* this is: header */ 
     757                                continue; 
    746758                        } /*endif*/ 
    747759                } /*endif*/ 
  • SH_SHM/trunk/source/seed_io/seedcfg.h

    r16 r45  
    33 *      ========= 
    44 * 
    5  * version 29, 29-Dec-2006 
     5 * $Revision: 30 $, $Date: 2008-02-23 23:36:22 +0100 (Sa, 23 Feb 2008) $ 
    66 * 
    77 * SEED basic constants and types 
     
    6767 
    6868#define Seed_C_SHORTSTRLTH 7 
    69 #define Seed_C_SFDLINELTH 200 
     69#define Seed_C_SFDLINELTH 512 
    7070#define Seed_C_MAX_RECLTH 8192 
    7171 
Note: See TracChangeset for help on using the changeset viewer.