diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-10-09 21:01:58 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-10-09 21:01:58 +0200 |
commit | b0f9f0819ceaeefa2ed2b4ba028d851d1de6146b (patch) | |
tree | 42c25087002db6cbec187a8f8d6ad111589107df /Bugzilla/DB | |
parent | fca7f7eda42cecf08252d710a16c4ad001ba204b (diff) | |
parent | f9e41025a332f57b3d9cabed8418e208fbd90400 (diff) | |
download | bugzilla-b0f9f0819ceaeefa2ed2b4ba028d851d1de6146b.tar.gz bugzilla-b0f9f0819ceaeefa2ed2b4ba028d851d1de6146b.tar.xz |
merged with bugzilla/4.2
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Mysql.pm | 2 | ||||
-rw-r--r-- | Bugzilla/DB/Schema.pm | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index 06bf3d8df..fad175eac 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -941,7 +941,9 @@ sub _bz_raw_column_info { $index = name of an index Returns: An abstract index definition, always in hashref format. If the index does not exist, the function returns undef. + =cut + sub bz_index_info_real { my ($self, $table, $index) = @_; diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 6dd78d206..23e484464 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -1864,6 +1864,7 @@ C<ALTER TABLE> SQL statement sub get_fk_ddl { + =item C<_get_fk_ddl> =over @@ -1877,7 +1878,9 @@ Protected method. Translates the C<REFERENCES> item of a column into SQL. =over =item C<$table> - The name of the table the reference is from. + =item C<$column> - The name of the column the reference is from + =item C<$references> - The C<REFERENCES> hashref from a column. =back @@ -1978,6 +1981,7 @@ Converts a TYPE from the L</ABSTRACT_SCHEMA> format into the real SQL type. } sub get_column { + =item C<get_column($table, $column)> Description: Public method to get the abstract definition of a column. @@ -2843,6 +2847,7 @@ sub serialize_abstract { in the same fashion as) the current version of Schema. However, it will represent the serialized data instead of ABSTRACT_SCHEMA. + =cut sub deserialize_abstract { |