Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1685

minor error in create table script for HSQLDB (causing the install to fail)

    XMLWordPrintableJSON

Details

    • N/A
    • anyone possibly
    • HSQLDB 1.8.0.9
    • SUN JDK 1.6.0_04
    • Minimal, just change order of words on one line.
    • Windows XP

    Description

      When issuing the install command on new installation an error occurs creating tables.
      There is a minor error in table definition script for hsqldb:
      file: roller/WEB-INF/classes/dbscripts/hsqldb/createdb.sql
      line: 80 (for 'create table webpage')
      reading:
      action varchar(16) not null default 'custom'

      Should be:
      action varchar(16) default 'custom' not null

      The order is incorrect - 'default' clause must precede 'not null' constraint (I think that might be an issue for other databases as well).

      Attachments

        Activity

          People

            gmazza Glen Mazza
            mpisanko michal pisanko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: