History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QUARTZ-516
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: James House
Reporter: Mike O. Abidakun
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Quartz Scheduler

Errors in "tables-informix.sql" script file.

Created: 27/Sep/06 08:11 AM   Updated: 30/Mar/07 01:02 PM
Component/s: Job Stores
Affects Version/s: 1.5.2
Fix Version/s: 1.6.1

File Attachments: 1. Text File 516.patch (1 kb)

Environment: Informix 10.0 (Trial), CentOS 4.4, VMWare 1.0 under Windows XP.
Issue Links:
Related
 
This issue is related to:
QUARTZ-522 db_tables/tables_informix.sql has sys... Minor Closed


 Description  « Hide
A few minor errors appear to exist in the tables-informix.sql file, which cause Informix to through errors when attempting to execute the SQL as a script, using Informix's "dbaccess" application against the database version 10.0.

Please see the following diff output, which shows the difference between the SQL provided in quartz release 1.5.2, and the SQL that has been modified to cleanly execute.

--------- cut here ----
1,6c1,6
< ##
< ## Thanks to Keith Chew for submitting this.
< ##
< ## use the StdJDBCDelegate with Informix.
< ##
< ## note that Informix has a 18 cahracter limit on the table name, so the prefix had to be shortened to "q" instread of "qrtz_"
---
> { }
> { Thanks to Keith Chew for submitting this. }
> { }
> { use the StdJDBCDelegate with Informix. }
> { }
> { note that Informix has a 18 character limit on the table name, so the prefix had to be shortened to "q" instread of "qrtz_" }
61,62c61
< TRIGGER_GROUP VARCHAR2(80) NOT NULL,
< );
---
> TRIGGER_GROUP varchar(80) NOT NULL);
80,81c79
< LOCK_NAME varchar(40) NOT NULL,
< );
---
> LOCK_NAME varchar(40) NOT NULL );
160c158
< MISFIRE_INSTR numeric(2)
---
> MISFIRE_INSTR numeric(2),

--------- cut here ----

I hope this helps, and keep up the good work!

 All   Comments   Change History      Sort Order:
Henri Yandell - [30/Mar/07 01:00 PM ]
Attaching this change as a patch.

Henri Yandell - [30/Mar/07 01:02 PM ]
svn ci -m "Applying the script changes from QUARTZ-516. They all look very sensible (though I have zero informix knowledge)" tables_informix.sql
Sending tables_informix.sql
Transmitting file data .
Committed revision 683.

(trunk - r684)