IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23865 for trunk/ippTools/share


Ignore:
Timestamp:
Apr 14, 2009, 3:57:28 PM (17 years ago)
Author:
Paul Price
Message:

Fixing generation of mirror table creation SQL.

Location:
trunk/ippTools/share
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share

    • Property svn:ignore
      •  

        old new  
        11Makefile.in
        22Makefile
         3pxadmin_create_mirror_tables.sql
  • trunk/ippTools/share/Makefile.am

    r23864 r23865  
    11pxadmin_create_mirror_tables.sql: pxadmin_create_tables.sql
    22        -$(RM) pxadmin_create_mirror_tables.sql
    3         $(SED) -n -e '/^  *$$/ d' -e '/./ H' -e '/;/ { x ; s/AUTO_INCREMENT//g ; s/\n//g ; s/,\{0,1\} *FOREIGN *KEY *(.*) *REFERENCES *[a-zA-Z]\{1,\}(.*)//g ; s/( */(/g ; s/ *)/)/g ; s/  */ /g ; p ; s/.*//g ; x }' pxadmin_create_tables.sql > pxadmin_create_mirror_tables.sql
     3        $(SED) -n -e '/^  *$$/ d' -e 's/--.*//' -e '/./ H' -e '/;/ { x ; s/AUTO_INCREMENT//g ; s/\n//g ; s/,\{0,1\} *FOREIGN *KEY *([a-zA-Z][a-zA-Z0-9\-_, ]*) *REFERENCES *[a-zA-Z]\{1,\}([a-zA-Z][a-zA-Z0-9\-_, ]*)//g ; s/( */(/g ; s/ *)/)/g ; s/  */ /g ; p ; s/.*//g ; x }' pxadmin_create_tables.sql > pxadmin_create_mirror_tables.sql
     4        echo '-- This comment line is here to avoid empty query error.' >> pxadmin_create_mirror_tables.sql
    45
    56dist_pkgdata_DATA = \
Note: See TracChangeset for help on using the changeset viewer.