You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/04/01 15:22:53 UTC

[jira] [Commented] (VCL-763) Add missing constraints to database tables

    [ https://issues.apache.org/jira/browse/VCL-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390531#comment-14390531 ] 

ASF subversion and git services commented on VCL-763:
-----------------------------------------------------

Commit 1670641 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1670641 ]

VCL-763 - Add missing constraints to database tables

statistics.php: modified addToStatGraphCache: added code to set $affilid and $provid to 'NULL' when they are passed in as 0 so that NULL is used in the insert query instead of 0 to prevent a foreign key constraint error

> Add missing constraints to database tables
> ------------------------------------------
>
>                 Key: VCL-763
>                 URL: https://issues.apache.org/jira/browse/VCL-763
>             Project: VCL
>          Issue Type: Improvement
>          Components: database
>    Affects Versions: 2.3.2
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>            Priority: Minor
>             Fix For: 2.4
>
>
> There are some database columns which reference another table which are missing a constraint.  One example is computer.vmhostid.  It's handy to have the constraints defined.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)