|
|
|
Stored procedure statements ?
|
|||
|---|---|---|---|
|
#18+
Всем привет! Объясните в двух словах что означает в процедурах (вер.5) выражение: Код: plaintext 1. 2. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.01.2006, 09:03:45 |
|
||
|
Stored procedure statements ?
|
|||
|---|---|---|---|
|
#18+
RTFM http://dev.mysql.com/doc/refman/5.0/en/create-procedure.html A procedure or function is considered “deterministic” if it always produces the same result for the same input parameters, and “not deterministic” otherwise. If neither DETERMINISTIC nor NOT DETERMINISTIC is given, the default is NOT DETERMINISTIC. For replication purposes, use of the NOW() function (or its synonyms) or RAND() does not necessarily make a routine non-deterministic. For NOW(), the binary log includes the timestamp and replicates correctly. RAND() also replicates correctly as long as it is invoked only once within a routine. (You can consider the routine execution timestamp and random number seed as implicit inputs that are identical on the master and slave.) Currently, the DETERMINISTIC characteristic is accepted, but not yet used by the optimizer. However, if binary logging is enabled, this characteristic affects whether MySQL accepts routine definitions. See Section 17.4, “Binary Logging of Stored Routines and Triggers”. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.01.2006, 12:21:45 |
|
||
|
|

start [/forum/topic.php?fid=47&msg=33476186&tid=1853192]: |
0ms |
get settings: |
6ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
186ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
33ms |
get tp. blocked users: |
1ms |
| others: | 189ms |
| total: | 439ms |

| 0 / 0 |
