Skip to content

Commit e8cbcd8

Browse files
committed
Update CPYINT revision, CHANGES.txt and fix docstring
1 parent 1c6d661 commit e8cbcd8

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

CHANGES.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ BUG#25614860: Fix defined_as method in the view creation
1616
BUG#25519251: SelectStatement does not implement order_by() method
1717
BUG#25436568: Update available operators for XPlugin
1818
BUG#24954006: Add missing items in CHANGES.txt
19-
BUG#24953913: Fix unittests that are failing in Linux
2019
BUG#24578507: Fix import error using Python 2.6
2120
BUG#23636962: Fix improper error message when creating a Session
2221
BUG#23568207: Fix default aliases for projection fields

cpyint

lib/mysqlx/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
ModifyStatement, SelectStatement, InsertStatement,
4141
DeleteStatement, UpdateStatement,
4242
CreateCollectionIndexStatement,
43-
DropCollectionIndexStatement, CreateViewStatement,
44-
AlterViewStatement, ColumnDef,
43+
DropCollectionIndexStatement, CreateTableStatement,
44+
CreateViewStatement, AlterViewStatement, ColumnDef,
4545
GeneratedColumnDef, ForeignKeyDef, Expr)
4646

4747
_SPLIT = re.compile(r',(?![^\(\)]*\))')
@@ -237,6 +237,6 @@ def get_node_session(*args, **kwargs):
237237
"FindStatement", "AddStatement", "RemoveStatement", "ModifyStatement",
238238
"SelectStatement", "InsertStatement", "DeleteStatement", "UpdateStatement",
239239
"CreateCollectionIndexStatement", "DropCollectionIndexStatement",
240-
"CreateViewStatement", "AlterViewStatement",
240+
"CreateTableStatement", "CreateViewStatement", "AlterViewStatement",
241241
"ColumnDef", "GeneratedColumnDef", "ForeignKeyDef", "Expr",
242242
]

lib/mysqlx/statement.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,8 +1027,8 @@ def as_select(self, select):
10271027
"""Create the Table and fill it with values from a Select Statement.
10281028
10291029
Args:
1030-
select (object): Select Statement. Can be a string or an instance of
1031-
:class`mysqlx.SelectStatement`.
1030+
select (object): Select Statement. Can be a string or an instance
1031+
of :class:`mysqlx.SelectStatement`.
10321032
10331033
Returns:
10341034
mysqlx.CreateTableStatement: CreateTableStatement object.

0 commit comments

Comments
 (0)