Sign in
gerrit
/
gerrit
/
9ae545fc21ed33c98e9cd1cf448c1f3b77bcf12e
/
.
/
gerrit-reviewdb
/
src
/
main
/
resources
/
com
/
google
/
gerrit
/
reviewdb
/
server
/
mysql_nextval.sql
blob: 247901074ae29b70541e8f2fd51848bf64a3945d [
file
] [
log
] [
blame
]
-- Gerrit 2 : MySQL
--
delimiter
//
CREATE
FUNCTION
nextval_account_id
()
RETURNS BIGINT
LANGUAGE SQL
NOT
DETERMINISTIC
MODIFIES SQL DATA
BEGIN
INSERT
INTO
account_id
(
s
)
VALUES
(
NULL
);
RETURN
LAST_INSERT_ID
();
END
;
//