Make add_key() and drop_key() consistent with other DDL functions

Bug #1330277 reported by Yuliya Bozhko on 2014-06-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Low
Yuliya Bozhko

Bug Description

Currently add_table(), add_field() and add_index() check if element exists already. add_key() if the only one missing such check which should be probably added.

summary: - Make add_key() consistent with other DDL functions
+ Make add_key() and drop_key() consistent with other DDL functions
Changed in mahara:
status: Triaged → In Progress

Reviewed: https://reviews.mahara.org/3443
Committed: http://gitorious.org/mahara/mahara/commit/1a1aac1fb943272eb39e7811f5f9a435d2f1c666
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 1a1aac1fb943272eb39e7811f5f9a435d2f1c666
Author: Yuliya Bozhko <email address hidden>
Date: Mon Jun 16 11:44:49 2014 +1200

Make add_key() and drop_key() consistent with other DDL functions by checking if the key does or does not exist respectively (Bug #1330277)

Change-Id: Ifd1ff659dd27e312108641bb49a599ffa9d4c9ff
Signed-off-by: Yuliya Bozhko <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
milestone: none → 1.10.0
Aaron Wells (u-aaronw) on 2014-10-21
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers