Fix a number of typos.

This commit is contained in:
huangj.fnst@fujitsu.com
2021-05-11 11:16:38 +01:00
committed by Dave Page
parent 8bc07c45f5
commit fe6f9aae61
21 changed files with 22 additions and 22 deletions

View File

@@ -405,7 +405,7 @@ class CastView(PGChildNodeView, SchemaDiffObjectCompare):
if not status:
return internal_server_error(errormsg=res)
# we need oid to to add object in tree at browser, below sql will
# we need oid to add object in tree at browser, below sql will
# gives the same
last_system_oid = 0 if self.blueprint.show_system_objects else \
self.datlastsysoid

View File

@@ -630,7 +630,7 @@ It may have been removed by another user.
errormsg=res
)
# we need oid to to add object in tree at browser,
# we need oid to add object in tree at browser,
# below sql will gives the same
SQL = render_template(
"/".join([self.template_path, 'sql/oid.sql']),

View File

@@ -490,7 +490,7 @@ class CollationView(PGChildNodeView, SchemaDiffObjectCompare):
if not status:
return internal_server_error(errormsg=res)
# We need oid to to add object in tree at browser
# We need oid to add object in tree at browser
SQL = render_template(
"/".join([self.template_path, self._OID_SQL]), data=data
)
@@ -598,7 +598,7 @@ class CollationView(PGChildNodeView, SchemaDiffObjectCompare):
if not status:
return internal_server_error(errormsg=res)
# We need oid to to add object in tree at browser
# We need oid to add object in tree at browser
SQL = render_template("/".join([self.template_path,
self._OID_SQL]), coid=coid)

View File

@@ -590,7 +590,7 @@ AND relkind != 'c'))"""
if not status:
return internal_server_error(errormsg=res)
# We need oid to to add object in tree at browser, below sql will
# We need oid to add object in tree at browser, below sql will
# gives the same
SQL = render_template("/".join([self.template_path,
self._OID_SQL]),

View File

@@ -418,7 +418,7 @@ class FtsParserView(PGChildNodeView, SchemaDiffObjectCompare):
if not status:
return internal_server_error(errormsg=res)
# we need fts_parser id to to add object in tree at browser,
# we need fts_parser id to add object in tree at browser,
# below sql will give the same
sql = render_template(
"/".join([self.template_path, self._PROPERTIES_SQL]),

View File

@@ -389,7 +389,7 @@ class FtsTemplateView(PGChildNodeView, SchemaDiffObjectCompare):
if not status:
return internal_server_error(errormsg=res)
# we need fts_template id to to add object in tree at browser,
# we need fts_template id to add object in tree at browser,
# below sql will give the same
sql = render_template(
"/".join([self.template_path, self._PROPERTIES_SQL]),

View File

@@ -937,7 +937,7 @@ class TableView(BaseTableView, DataTypeReader, SchemaDiffTableCompare):
if not status:
return internal_server_error(errormsg=new_scid)
# we need oid to to add object in tree at browser
# we need oid to add object in tree at browser
sql = render_template(
"/".join([self.table_template_path, self._OID_SQL]),
scid=new_scid, data=data

View File

@@ -413,7 +413,7 @@ class ColumnsView(PGChildNodeView, DataTypeReader):
if not status:
return internal_server_error(errormsg=res)
# we need oid to to add object in tree at browser
# we need oid to add object in tree at browser
SQL = render_template(
"/".join([self.template_path, 'get_position.sql']),
tid=tid, data=data

View File

@@ -528,7 +528,7 @@ class CompoundTriggerView(PGChildNodeView, SchemaDiffObjectCompare):
if not status:
return internal_server_error(errormsg=res)
# we need oid to to add object in tree at browser
# we need oid to add object in tree at browser
SQL = render_template("/".join([self.template_path,
self._OID_SQL]),
tid=tid, data=data)

View File

@@ -631,7 +631,7 @@ class IndexesView(PGChildNodeView, SchemaDiffObjectCompare):
self.conn.execute_scalar("END;")
return internal_server_error(errormsg=res)
# we need oid to to add object in tree at browser
# we need oid to add object in tree at browser
SQL = render_template(
"/".join([self.template_path, self._OID_SQL]),
tid=tid, data=data

View File

@@ -379,7 +379,7 @@ class RowSecurityView(PGChildNodeView):
if not status:
return internal_server_error(errormsg=res)
# we need oid to to add object in tree at browser
# we need oid to add object in tree at browser
sql = render_template(
"/".join([self.template_path, 'get_position.sql']),
tid=tid, data=data

View File

@@ -621,7 +621,7 @@ class TriggerView(PGChildNodeView, SchemaDiffObjectCompare):
if not status:
return internal_server_error(errormsg=res)
# we need oid to to add object in tree at browser
# we need oid to add object in tree at browser
SQL = render_template("/".join([self.template_path,
self._OID_SQL]),
tid=tid, data=data)

View File

@@ -1053,7 +1053,7 @@ class TypeView(PGChildNodeView, DataTypeReader, SchemaDiffObjectCompare):
if not status:
return internal_server_error(errormsg=scid)
# we need oid to to add object in tree at browser
# we need oid to add object in tree at browser
SQL = render_template("/".join([self.template_path,
self._OID_SQL]),
scid=scid, data=data)

View File

@@ -403,7 +403,7 @@ export class Tree {
/**
* As the name hints this functions works as a layer in between ACI and
* the adaptor. Given a ACITree JQuery node find the location of it in the
* Tree and then returns and array with the path to to the Tree Node in
* Tree and then returns and array with the path to the Tree Node in
* question
*
* This is not optimized and will always go through the full tree