~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/functions/utility.rst

  • Committer: Mark Atwood
  • Date: 2011-09-13 19:54:55 UTC
  • mfrom: (2397.1.3 plugin-docs)
  • Revision ID: me@mark.atwood.name-20110913195455-3bk3locm85m4jimp
mergeĀ lp:~daniel-nichter/drizzle/plugin-docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Utility Functions
 
2
=================
 
3
 
 
4
.. _assert-function:
 
5
 
 
6
ASSERT
 
7
------
 
8
 
 
9
Assert.
 
10
 
 
11
.. _benchmark-function:
 
12
 
 
13
BENCHMARK
 
14
---------
 
15
 
 
16
The BENCHMARK function measures time for repeated calls to a function.
 
17
 
 
18
.. _bit-count-function:
 
19
 
 
20
BIT_COUNT
 
21
---------
 
22
 
 
23
Count bits.
 
24
 
 
25
.. _catalog-function:
 
26
 
 
27
CATALOG
 
28
-------
 
29
 
 
30
Returns the current catalog.
 
31
 
 
32
.. _compress-function:
 
33
 
 
34
COMPRESS
 
35
--------
 
36
 
 
37
Compress the argument.
 
38
 
 
39
.. _connection-id-function:
 
40
 
 
41
CONNECTION_ID
 
42
-------------
 
43
 
 
44
Returns the session's connection ID.
 
45
 
 
46
.. _crc32-function:
 
47
 
 
48
CRC32
 
49
-----
 
50
 
 
51
Returns the CRC32 checksum of the argument.
 
52
 
 
53
.. _database-function:
 
54
 
 
55
DATABASE
 
56
--------
 
57
 
 
58
Returns current database (schema).
 
59
 
 
60
.. _execute-function:
 
61
 
 
62
EXECUTE
 
63
-------
 
64
 
 
65
Unknown
 
66
 
 
67
.. _global-read-lock-function:
 
68
 
 
69
GLOBAL_READ_LOCK
 
70
----------------
 
71
 
 
72
Unknown
 
73
 
 
74
.. _kill-function:
 
75
 
 
76
KILL
 
77
----
 
78
 
 
79
Kill a query.
 
80
 
 
81
.. _md5-function:
 
82
 
 
83
MD5
 
84
---
 
85
 
 
86
Returns MD5 checksum of argument.
 
87
 
 
88
.. _rand-function:
 
89
 
 
90
RAND
 
91
----
 
92
 
 
93
Returns a random number.
 
94
 
 
95
.. _result-type-function:
 
96
 
 
97
RESULT_TYPE
 
98
-----------
 
99
 
 
100
Unknown
 
101
 
 
102
.. _show-schema-proto-function:
 
103
 
 
104
SHOW_SCHEMA_PROTO
 
105
-----------------
 
106
 
 
107
Show low-level information about a schema.
 
108
 
 
109
.. _shutdown-function:
 
110
 
 
111
SHUTDOWN
 
112
--------
 
113
 
 
114
Shutdown the Drizzle server.
 
115
 
 
116
.. _sleep-function:
 
117
 
 
118
SLEEP
 
119
-----
 
120
 
 
121
Sleep.
 
122
 
 
123
.. _typeof-function:
 
124
 
 
125
TYPEOF
 
126
------
 
127
 
 
128
Unknown
 
129
 
 
130
.. _uncompress-function:
 
131
 
 
132
UNCOMPRESS
 
133
----------
 
134
 
 
135
Uncompress a compressed argument.
 
136
 
 
137
.. _uncompressed-length-function:
 
138
 
 
139
UNCOMPRESSED_LENGTH
 
140
-------------------
 
141
 
 
142
Returns the uncompressed lenght of the argument.
 
143
 
 
144
.. _user-function:
 
145
 
 
146
USER
 
147
----
 
148
 
 
149
Returns the current user.
 
150
 
 
151
.. _uuid-function:
 
152
 
 
153
UUID
 
154
----
 
155
 
 
156
Returns a UUID.
 
157
 
 
158
.. _version-function:
 
159
 
 
160
VERSION
 
161
-------
 
162
 
 
163
Returns the version of Drizzle.