@@ 1170-1179 (lines=10) @@ | ||
1167 | } |
|
1168 | ||
1169 | // Set the comment |
|
1170 | if ($comment != '') { |
|
1171 | $status = $this->setComment('SCHEMA', $schemaname, '', $comment); |
|
1172 | if ($status != 0) { |
|
1173 | $this->rollbackTransaction(); |
|
1174 | ||
1175 | return -1; |
|
1176 | } |
|
1177 | ||
1178 | return $this->endTransaction(); |
|
1179 | } |
|
1180 | ||
1181 | return 0; |
|
1182 | } |
|
@@ 6756-6765 (lines=10) @@ | ||
6753 | } |
|
6754 | ||
6755 | // Set the comment |
|
6756 | if ($comment != '') { |
|
6757 | $status = $this->setComment('TEXT SEARCH CONFIGURATION', $cfgname, '', $comment); |
|
6758 | if ($status != 0) { |
|
6759 | $this->rollbackTransaction(); |
|
6760 | ||
6761 | return -1; |
|
6762 | } |
|
6763 | ||
6764 | return $this->endTransaction(); |
|
6765 | } |
|
6766 | ||
6767 | return 0; |
|
6768 | } |
|
@@ 7099-7106 (lines=8) @@ | ||
7096 | } |
|
7097 | ||
7098 | // Set the comment |
|
7099 | if ($comment != '') { |
|
7100 | $status = $this->setComment($whatToComment, $dictname, '', $comment); |
|
7101 | if ($status != 0) { |
|
7102 | $this->rollbackTransaction(); |
|
7103 | ||
7104 | return -1; |
|
7105 | } |
|
7106 | } |
|
7107 | ||
7108 | return $this->endTransaction(); |
|
7109 | } |
|
@@ 7402-7409 (lines=8) @@ | ||
7399 | return -1; |
|
7400 | } |
|
7401 | ||
7402 | if (trim($comment) != '') { |
|
7403 | $status = $this->setComment('AGGREGATE', $name, '', $comment, $basetype); |
|
7404 | if ($status) { |
|
7405 | $this->rollbackTransaction(); |
|
7406 | ||
7407 | return -1; |
|
7408 | } |
|
7409 | } |
|
7410 | ||
7411 | return $this->endTransaction(); |
|
7412 | } |