reference/oci8/functions/oci-set-action.xml
ed6de1ae20ce16c0c7be0b3fef282b6065bebfac
...
...
@@ -11,14 +11,14 @@
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>oci_set_action</methodname>
13
13
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
14
-
<methodparam><type>string</type><parameter>action_name</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>action</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Sets the action name for Oracle tracing.
18
18
</para>
19
19
<para>
20
20
The action name is registered with the database when the next
21
-
'roundtrip' from PHP to the database occurs, typically when an SQL
21
+
'round-trip' from PHP to the database occurs, typically when an SQL
22
22
statement is executed.
23
23
</para>
24
24
<para>
...
...
@@ -43,7 +43,7 @@
43
43
</listitem>
44
44
</varlistentry>
45
45
<varlistentry>
46
-
<term><parameter>action_name</parameter></term>
46
+
<term><parameter>action</parameter></term>
47
47
<listitem>
48
48
<para>
49
49
User chosen string up to 32 bytes long.
...
...
@@ -75,7 +75,7 @@ $c = oci_connect('hr', 'welcome', 'localhost/XE');
75
75
// Record the action
76
76
oci_set_action($c, 'Friend Lookup');
77
77

78
-
// Code that causes a roundtrip, for example a query:
78
+
// Code that causes a round-trip, for example a query:
79
79
$s = oci_parse($c, 'select * from dual');
80
80
oci_execute($s);
81
81
oci_fetch_all($s, $res);
...
...
@@ -112,12 +112,12 @@ SQL> select action from v$session;
112
112
<member><function>oci_set_module_name</function></member>
113
113
<member><function>oci_set_client_info</function></member>
114
114
<member><function>oci_set_client_identifier</function></member>
115
+
<member><function>oci_set_db_operation</function></member>
115
116
</simplelist>
116
117
</para>
117
118
</refsect1>
118
119

119
120
</refentry>
120
-

121
121
<!-- Keep this comment at the end of the file
122
122
Local variables:
123
123
mode: sgml
124
124