projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
80aa705
)
mysql/core_person_get_action_type.sql
author
Alan Knowles
<alan@roojs.com>
Tue, 11 Oct 2016 03:06:43 +0000
(11:06 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 11 Oct 2016 03:06:43 +0000
(11:06 +0800)
mysql/core_person_get_action_type.sql
patch
|
blob
|
history
diff --git
a/mysql/core_person_get_action_type.sql
b/mysql/core_person_get_action_type.sql
index
dcd3680
..
ddf77ec
100644
(file)
--- a/
mysql/core_person_get_action_type.sql
+++ b/
mysql/core_person_get_action_type.sql
@@
-1,13
+1,13
@@
-DROP FUNCTION IF EXISTS person_get_action_type;
+DROP FUNCTION IF EXISTS
core_
person_get_action_type;
DELIMITER $$
DELIMITER $$
-CREATE FUNCTION person_get_action_type(in_id INT(11)) RETURNS VARCHAR(32) DETERMINISTIC
+CREATE FUNCTION
core_
person_get_action_type(in_id INT(11)) RETURNS VARCHAR(32) DETERMINISTIC
BEGIN
DECLARE v_ret VARCHAR(32);
SET v_ret= '';
BEGIN
DECLARE v_ret VARCHAR(32);
SET v_ret= '';
- SELECT action_type INTO v_ret FROM
P
erson WHERE id = in_id LIMIT 1;
+ SELECT action_type INTO v_ret FROM
core_p
erson WHERE id = in_id LIMIT 1;
RETURN v_ret;
END $$
DELIMITER ;
RETURN v_ret;
END $$
DELIMITER ;