diff options
author | lpsolit%gmail.com <> | 2005-07-26 23:09:47 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-07-26 23:09:47 +0200 |
commit | da69ce2b6f53856aef539cff334cd864af1b57b8 (patch) | |
tree | 77967af86337d4155888cbb8eb990dd916b77f66 /Bugzilla/DB.pm | |
parent | 80d8289eae009f7170a7f6152ec7ededa6907bcf (diff) | |
download | bugzilla-da69ce2b6f53856aef539cff334cd864af1b57b8.tar.gz bugzilla-da69ce2b6f53856aef539cff334cd864af1b57b8.tar.xz |
Bug 301967: Some .pm files have invalid POD syntax - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r-- | Bugzilla/DB.pm | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index f3b9e4ed9..7d1623b7b 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -835,7 +835,9 @@ sub _bz_init_schema_storage { Params: none Returns: A C<Bugzilla::DB::Schema> object representing the database as it exists on the disk. + =cut + sub _bz_real_schema { my ($self) = @_; return $self->{private_real_schema} if exists $self->{private_real_schema}; @@ -852,7 +854,6 @@ sub _bz_real_schema { return $self->{private_real_schema}; } - =item C<_bz_store_real_schema()> Description: Stores the _bz_real_schema structures in the database @@ -863,7 +864,12 @@ sub _bz_real_schema { Precondition: $self->{_bz_real_schema} must exist. +=back + +=end private + =cut + sub _bz_store_real_schema { my ($self) = @_; @@ -890,9 +896,6 @@ sub _bz_store_real_schema { 1; __END__ -=back - -=end private =head1 NAME @@ -912,7 +915,7 @@ Bugzilla::DB - Database access routines, using L<DBI> # Execute the query $sth->execute; - + # Get the results my @result = $sth->fetchrow_array; @@ -982,6 +985,9 @@ Bugzilla::DB module, this would be "Mysql." For PostgreSQL it would be "Pg." The minimum version of the DBD module that we require for this database. +=back + + =head1 CONNECTION A new database handle to the required database can be created using this @@ -1038,6 +1044,7 @@ should not be called from anywhere else. =back + =head1 ABSTRACT METHODS Note: Methods which can be implemented generically for all DBs are implemented in @@ -1218,14 +1225,15 @@ formatted SQL command have prefix C<sql_>. All other methods have prefix C<bz_>. back). False (0) or no param if the operation succeeded. Returns: none +=back + + =head1 IMPLEMENTED METHODS These methods are implemented in Bugzilla::DB, and only need to be implemented in subclasses if you need to override them for database-compatibility reasons. -=over 4 - =head2 General Information Methods These methods return information about data in the database. @@ -1244,6 +1252,8 @@ These methods return information about data in the database. $column = name of column containing serial data type (scalar) Returns: Last inserted ID (scalar) +=back + =head2 Schema Modification Methods @@ -1398,6 +1408,9 @@ MySQL only. Params: none Returns: List of all the "bug" fields +=back + + =head2 Transaction Methods These methods deal with the starting and stopping of transactions @@ -1425,6 +1438,9 @@ in the database. Params: none Returns: none +=back + + =head1 SUBCLASS HELPERS Methods in this class are intended to be used by subclasses to help them @@ -1445,6 +1461,7 @@ with their functions. =back + =head1 DEPRECATED ROUTINES Several database routines are deprecated. They should not be used in new code, @@ -1482,6 +1499,7 @@ PopGlobalSQLState =back + =head1 SEE ALSO L<DBI> |