projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13caf50
)
DataObjects/core_functions.sql
author
Alan Knowles
<alan@roojs.com>
Sat, 28 Jan 2012 08:21:22 +0000
(16:21 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 28 Jan 2012 08:21:22 +0000
(16:21 +0800)
DataObjects/core_functions.sql
patch
|
blob
|
history
diff --git
a/DataObjects/core_functions.sql
b/DataObjects/core_functions.sql
index
528ef32
..
852b4eb
100644
(file)
--- a/
DataObjects/core_functions.sql
+++ b/
DataObjects/core_functions.sql
@@
-26,6
+26,6
@@
BEGIN
SELECT MAX(seqid) +1 INTO seqmax FROM core_enum WHERE
etype = etype;
UPDATE core_enum SET seqmax = seqmax WHERE etype = etype;
-
+ RETURN seqmax;
END $$
DELIMITER ;