Merge lp:~vjsamuel/drizzle/fix-bug-850782 into lp:~drizzle-trunk/drizzle/development

Proposed by Vijay Samuel
Status: Merged
Approved by: Brian Aker
Approved revision: 2415
Merged at revision: 2417
Proposed branch: lp:~vjsamuel/drizzle/fix-bug-850782
Merge into: lp:~drizzle-trunk/drizzle/development
Diff against target: 69 lines (+21/-34)
1 file modified
docs/functions/current_time_functions.rst (+21/-34)
To merge this branch: bzr merge lp:~vjsamuel/drizzle/fix-bug-850782
Reviewer Review Type Date Requested Status
Drizzle Merge Team Pending
Review via email: mp+75535@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'docs/functions/current_time_functions.rst'
2--- docs/functions/current_time_functions.rst 2011-03-11 15:54:41 +0000
3+++ docs/functions/current_time_functions.rst 2011-09-15 14:46:27 +0000
4@@ -14,40 +14,6 @@
5 SELECT CURDATE() + 0;
6 -> 20110213
7
8-current_time
9---------------
10-
11-Returns the current time as a value in 'HH:MM:SS' or HHMMSS.uuuuuu format, depending on whether the function is used in a string or numeric context. The value is expressed in the current time zone.
12-
13-.. code-block:: mysql
14-
15- SELECT CURTIME();
16- -> '10:30:09'
17- SELECT CURTIME() + 0;
18- -> 103009.000000
19-
20-
21-current_timestamp
22-------------------
23-
24-See :ref:`now`
25-
26-CURRENT_TIMESTAMP() is a synonym for NOW().
27-
28-localtime
29------------
30-
31-See :ref:`now`
32-
33-LOCALTIME() is a synonym for NOW().
34-
35-localtimestamp
36----------------
37-
38-See :ref:`now`
39-
40-LOCALTIMESTAMP() is a synonym for NOW().
41-
42 .. _now:
43
44 now()
45@@ -92,3 +58,24 @@
46
47 When using replication, the binary log will include SET TIMESTAMP entries so that a database can be restored from the binary log. In doing this, values from NOW will be adjusted to the same times as when the original SQL statements were executed. SYSDATE entries will be unaffected by SET TIMESTAMP entries.
48
49+current_timestamp
50+------------------
51+
52+See :ref:`now`
53+
54+CURRENT_TIMESTAMP() is a synonym for NOW().
55+
56+localtime
57+-----------
58+
59+See :ref:`now`
60+
61+LOCALTIME() is a synonym for NOW().
62+
63+localtimestamp
64+---------------
65+
66+See :ref:`now`
67+
68+LOCALTIMESTAMP() is a synonym for NOW().
69+