IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11678


Ignore:
Timestamp:
Feb 6, 2007, 3:44:54 PM (19 years ago)
Author:
jhoblitt
Message:

add missing ';'s

Location:
trunk/glueforge/templates/psdb
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/alloc_c.tt

    r9029 r11678  
    2626
    2727[% FOREACH item = table.columns -%]
    28 [% IF item.type == "S32" or item.type == "F32" or item.type == "F64" or item.type == "BOOL" -%]
     28[% IF item.type == "U8"
     29   or item.type == "U16"
     30   or item.type == "U32"
     31   or item.type == "U64"
     32   or item.type == "S8"
     33   or item.type == "S16"
     34   or item.type == "S32"
     35   or item.type == "S64"
     36   or item.type == "F32"
     37   or item.type == "F64"
     38   or item.type == "BOOL"
     39-%]
    2940        if (!object->[% item.name %] == [% item.test %]) {
    3041[% ELSIF item.type == "STR" -%]
  • trunk/glueforge/templates/psdb/dbcleanup_c.tt

    r5950 r11678  
    66    psDB            *dbh;
    77
    8     dbh = psDBInit("localhost", "test", NULL, "test");
     8    dbh = psDBInit("localhost", "test", NULL, "test", 0);
    99    if (!dbh) {
    1010        exit(EXIT_FAILURE);
  • trunk/glueforge/templates/psdb/dbsetup_c.tt

    r5950 r11678  
    77    psDB            *dbh;
    88
    9     dbh = psDBInit("localhost", "test", NULL, "test");
     9    dbh = psDBInit("localhost", "test", NULL, "test", 0);
    1010    if (!dbh) {
    1111        exit(EXIT_FAILURE);
  • trunk/glueforge/templates/psdb/deleteobject.tt

    r8263 r11678  
    33    psMetadata *where = [% table.namespace %]MetadataFromObject(object);
    44    long long count = psDBDeleteRows(dbh, [% table.namespace FILTER upper %]_TABLE_NAME, where, 0);
    5     psFree(where)
     5    psFree(where);
    66    if (count < 0) {
    77        psError(PS_ERR_UNKNOWN, true, "failed to delete row from [% table.namespace %]");
  • trunk/glueforge/templates/psdb/deleterowobjects.tt

    r6160 r11678  
    77        psMetadata *where = [% table.namespace %]MetadataFromObject(object);
    88        long long count = psDBDeleteRows(dbh, [% table.namespace FILTER upper %]_TABLE_NAME, where, limit);
    9         psFree(where)
     9        psFree(where);
    1010        if (count < 0) {
    1111            psError(PS_ERR_UNKNOWN, true, "failed to delete row from [% table.namespace %]");
Note: See TracChangeset for help on using the changeset viewer.