Skip to content

Commit d6bbd9e

Browse files
committed
Review fixes.
1 parent 553ea0a commit d6bbd9e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

devapi/impl.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,12 @@ class Op_base
640640
}
641641
}
642642

643+
/*
644+
Note: This is a method to implement positional '?' parmaeters which are not
645+
used by CRUD operations (they use named parmaeters insted). The method
646+
should not be called in this context and we use assertion to verify this.
647+
*/
648+
643649
void add_param(Value)
644650
{
645651
assert(false);

include/mysql_devapi.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ namespace mysqlx {
9696
/**
9797
Represents a database schema.
9898
99-
A `Schema` instance can be obtained from `Session::getSchema()`
99+
A `Schema` instance can be obtained from `Session::getSchema()`
100100
method:
101101
102102
~~~~~~
@@ -171,7 +171,7 @@ class PUBLIC_API Schema
171171
Return `Collection` object representing named collection in
172172
the schema. If `check_exists` is true and named collection
173173
does not exist, an error will be thrown. Otherwise, if named
174-
collection does not exists, the returned object will refer
174+
collection does not exist, the returned object will refer
175175
to non-existent collection.
176176
177177
@note Checking existence of the collection involves

0 commit comments

Comments
 (0)