@@ 1150-1159 (lines=10) @@ | ||
1147 | } |
|
1148 | ||
1149 | // Set the comment |
|
1150 | if ($comment != '') { |
|
1151 | $status = $this->setComment('SCHEMA', $schemaname, '', $comment); |
|
1152 | if ($status != 0) { |
|
1153 | $this->rollbackTransaction(); |
|
1154 | ||
1155 | return -1; |
|
1156 | } |
|
1157 | ||
1158 | return $this->endTransaction(); |
|
1159 | } |
|
1160 | ||
1161 | return 0; |
|
1162 | } |
|
@@ 6608-6617 (lines=10) @@ | ||
6605 | } |
|
6606 | ||
6607 | // Set the comment |
|
6608 | if ($comment != '') { |
|
6609 | $status = $this->setComment('TEXT SEARCH CONFIGURATION', $cfgname, '', $comment); |
|
6610 | if ($status != 0) { |
|
6611 | $this->rollbackTransaction(); |
|
6612 | ||
6613 | return -1; |
|
6614 | } |
|
6615 | ||
6616 | return $this->endTransaction(); |
|
6617 | } |
|
6618 | ||
6619 | return 0; |
|
6620 | } |
|
@@ 6943-6950 (lines=8) @@ | ||
6940 | } |
|
6941 | ||
6942 | // Set the comment |
|
6943 | if ($comment != '') { |
|
6944 | $status = $this->setComment($whatToComment, $dictname, '', $comment); |
|
6945 | if ($status != 0) { |
|
6946 | $this->rollbackTransaction(); |
|
6947 | ||
6948 | return -1; |
|
6949 | } |
|
6950 | } |
|
6951 | ||
6952 | return $this->endTransaction(); |
|
6953 | } |
|
@@ 7240-7247 (lines=8) @@ | ||
7237 | return -1; |
|
7238 | } |
|
7239 | ||
7240 | if (trim($comment) != '') { |
|
7241 | $status = $this->setComment('AGGREGATE', $name, '', $comment, $basetype); |
|
7242 | if ($status) { |
|
7243 | $this->rollbackTransaction(); |
|
7244 | ||
7245 | return -1; |
|
7246 | } |
|
7247 | } |
|
7248 | ||
7249 | return $this->endTransaction(); |
|
7250 | } |