Skip to content

Commit

Permalink
Update travis building
Browse files Browse the repository at this point in the history
  • Loading branch information
corentin.falcone committed Jan 11, 2019
1 parent 7852a7a commit c0dd72e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/plugins/db_manager/db_plugins/plugin.py
Expand Up @@ -1133,8 +1133,8 @@ def update(self, new_name, new_type_str=None, new_not_null=None, new_default_str
# Update also a new_comment
new_comment = None
ret = self.table().database().connector.updateTableColumn((self.table().schemaName(), self.table().name),
self.name, new_name, new_type_str, new_not_null,
new_default_str, new_comment)
self.name, new_name, new_type_str,
new_not_null, new_default_str, new_comment)
if ret is not False:
self.table().refreshFields()
return ret
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/postgis/info_model.py
Expand Up @@ -111,7 +111,7 @@ def generalInfo(self):
if self.table.rowCount is not None:
if abs(self.table.estimatedRowCount - self.table.rowCount) > 1 and \
(self.table.estimatedRowCount > 2 * self.table.rowCount
or self.table.rowCount > 2 * self.table.estimatedRowCount):
or self.table.rowCount > 2 * self.table.estimatedRowCount):
ret.append(HtmlParagraph(QApplication.translate("DBManagerPlugin",
"<warning> There's a significant difference between estimated and real row count. "
'Consider running <a href="action:vacuumanalyze/run">VACUUM ANALYZE</a>.')))
Expand Down
1 change: 1 addition & 0 deletions python/plugins/db_manager/db_plugins/postgis/plugin.py
Expand Up @@ -281,6 +281,7 @@ def delete(self):
self.deleted.emit()
return ret


class PGVectorTable(PGTable, VectorTable):

def __init__(self, row, db, schema=None):
Expand Down

0 comments on commit c0dd72e

Please sign in to comment.