Skip to content

Commit 326e15c

Browse files
committed
Обновление до английской версии
1 parent 37d3b80 commit 326e15c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

reference/mysql_xdevapi/mysql_xdevapi/session/getdefaultschema.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: sergey Status: ready -->
2+
<!-- EN-Revision: 6d310c441fd9548050c972e694438b362fa6d1fd Maintainer: sergey Status: ready -->
33
<!-- Reviewed: no -->
44
<refentry xml:id="mysql-xdevapi-session.getdefaultschema" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -10,12 +10,11 @@
1010
<refsect1 role="description">
1111
&reftitle.description;
1212
<methodsynopsis>
13-
<modifier>public</modifier> <type>string</type><methodname>mysql_xdevapi\Session::getDefaultSchema</methodname>
13+
<modifier>public</modifier> <type class="union"><type>mysql_xdevapi\Schema</type><type>null</type></type><methodname>mysql_xdevapi\Session::getDefaultSchema</methodname>
1414
<void />
1515
</methodsynopsis>
1616
<para>
17-
Извлекает имя схемы по умолчанию, которая обычно устанавливается в
18-
URI соединения.
17+
Получает схему по умолчанию, которая обычно задаётся в URI подключения.
1918
</para>
2019
</refsect1>
2120

@@ -27,8 +26,8 @@
2726
<refsect1 role="returnvalues">
2827
&reftitle.returnvalues;
2928
<para>
30-
Имя схемы по умолчанию, определённой соединением или &null;, если
31-
схема не установлена.
29+
Метод возвращает схему по умолчанию, определённую подключением
30+
или &null;, если она не была установлена.
3231
</para>
3332
</refsect1>
3433

@@ -43,7 +42,7 @@ $uri = "mysqlx://testuser:testpasswd@localhost:33160/testx?ssl-mode=disabled";
4342
$session = mysql_xdevapi\getSession($uri);
4443
4544
$schema = $session->getDefaultSchema();
46-
echo $schema;
45+
echo $schema->getName();
4746
?>
4847
]]>
4948
</programlisting>

0 commit comments

Comments
 (0)