repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Move ResultWrapper subclasses to Rdbms
[mediawiki.git]
/
tests
/
phpunit
/
data
/
db
/
mysql
/
functions.sql
blob
9e5e470f59b94f3a631222ff04fd8edd63acbd05
1
-- MySQL test file for DatabaseTest::testStoredFunctions()
2
3
DELIMITER //
4
5
CREATE FUNCTION mw_test_function()
6
RETURNS int DETERMINISTIC
7
BEGIN
8
SET @foo = 21;
9
RETURN @foo * 2;
10
END//
11
12
DELIMITER //