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

Bug #1330277 reported by Yuliya Bozhko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
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
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/3443

Changed in mahara:
status: Triaged → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.