View Issue Details

IDProjectCategoryView StatusLast Update
1741RackTablesdefaultpublic2017-03-04 14:39
Reporterkissg Assigned To 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionduplicate 
PlatformVMOSLinuxOS VersionDebian 7
Product Version0.20.12 
Summary1741: Cannot upgrade to 0.20.12 due to missing stored procedure
DescriptionUpgrade from 0.20.10 failed with some database error. I had not enough permissions.
Then I tried to create missing triggers by hand as root:

MariaDB [racktables-test]> CREATE TRIGGER `Port-before-insert` BEFORE INSERT ON
`Port` FOR EACH ROW PortTrigger:BEGIN
    -> IF (NEW.`l2address` IS NOT NULL AND (SELECT COUNT(*) FROM `Port` WHERE
    -> `l2address` = NEW.`l2address` AND `object_id` != NEW.`object_id`) > 0) THEN
    -> CALL `Port-l2address-already-exists-on-another-object`;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MariaDB server version for the right syntax to use near ''
at line 4
MariaDB [racktables-test]>

I guess the CALL `Port-l2address-already-exists-on-another-object`
fails because there is no such stored procedure.

TagsNo tags attached.

Relationships

duplicate of 1733 closedinfrastation Query failed during upgrade 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-03-04 10:35 kissg New Issue
2017-03-04 14:38 infrastation Relationship added duplicate of 1733
2017-03-04 14:39 infrastation Status new => closed
2017-03-04 14:39 infrastation Resolution open => duplicate