@@ 623-628 (lines=6) @@ | ||
620 | return -1; |
|
621 | } |
|
622 | ||
623 | if ($comment != '' && $this->hasSharedComments()) { |
|
624 | $status = $this->setComment('DATABASE', $database, '', $comment); |
|
625 | if ($status != 0) { |
|
626 | return -2; |
|
627 | } |
|
628 | } |
|
629 | ||
630 | return 0; |
|
631 | } |
|
@@ 8615-8620 (lines=6) @@ | ||
8612 | return -1; |
|
8613 | } |
|
8614 | ||
8615 | if ($comment != '' && $this->hasSharedComments()) { |
|
8616 | $status = $this->setComment('TABLESPACE', $spcname, '', $comment); |
|
8617 | if ($status != 0) { |
|
8618 | return -2; |
|
8619 | } |
|
8620 | } |
|
8621 | ||
8622 | return 0; |
|
8623 | } |
|
@@ 8670-8675 (lines=6) @@ | ||
8667 | } |
|
8668 | ||
8669 | // Set comment if it has changed |
|
8670 | if (trim($comment) != '' && $this->hasSharedComments()) { |
|
8671 | $status = $this->setComment('TABLESPACE', $spcname, '', $comment); |
|
8672 | if ($status != 0) { |
|
8673 | return -4; |
|
8674 | } |
|
8675 | } |
|
8676 | ||
8677 | return $this->endTransaction(); |
|
8678 | } |