提交 30dfd586 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 7aed5785
...@@ -29,7 +29,14 @@ public class SourceCompiler { ...@@ -29,7 +29,14 @@ public class SourceCompiler {
private static final Class< ? > JAVAC_SUN; private static final Class< ? > JAVAC_SUN;
/**
* The class name to source code map.
*/
HashMap<String, String> sources = New.hashMap(); HashMap<String, String> sources = New.hashMap();
/**
* The class name to byte code map.
*/
HashMap<String, Class< ? >> compiled = New.hashMap(); HashMap<String, Class< ? >> compiled = New.hashMap();
private String compileDir = System.getProperty("java.io.tmpdir"); private String compileDir = System.getProperty("java.io.tmpdir");
...@@ -42,7 +49,7 @@ public class SourceCompiler { ...@@ -42,7 +49,7 @@ public class SourceCompiler {
clazz = null; clazz = null;
} }
JAVAC_SUN = clazz; JAVAC_SUN = clazz;
} }
/** /**
* Set the source code for the specified class. * Set the source code for the specified class.
......
...@@ -26,7 +26,7 @@ public class TestMvccMultiThreaded extends TestBase { ...@@ -26,7 +26,7 @@ public class TestMvccMultiThreaded extends TestBase {
} }
public void test() throws Exception { public void test() throws Exception {
testConcurrentMerge(); testConcurrentMerge();
testConcurrentUpdate(""); testConcurrentUpdate("");
// not supported currently // not supported currently
// testConcurrentUpdate(";MULTI_THREADED=TRUE"); // testConcurrentUpdate(";MULTI_THREADED=TRUE");
......
...@@ -19,7 +19,7 @@ CREATE FUNCTION add(integer, integer) RETURNS integer ...@@ -19,7 +19,7 @@ CREATE FUNCTION add(integer, integer) RETURNS integer
LANGUAGE SQL LANGUAGE SQL
IMMUTABLE IMMUTABLE
RETURNS NULL ON NULL INPUT; RETURNS NULL ON NULL INPUT;
CREATE OR REPLACE FUNCTION increment(i integer) RETURNS integer AS $$ CREATE OR REPLACE FUNCTION increment(i integer) RETURNS integer AS $$
BEGIN BEGIN
RETURN i + 1; RETURN i + 1;
...@@ -27,6 +27,6 @@ CREATE OR REPLACE FUNCTION increment(i integer) RETURNS integer AS $$ ...@@ -27,6 +27,6 @@ CREATE OR REPLACE FUNCTION increment(i integer) RETURNS integer AS $$
$$ LANGUAGE ...; $$ LANGUAGE ...;
create alias newFunctionAliasName [ DETERMINISTIC ] create alias newFunctionAliasName [ DETERMINISTIC ]
as as
FOR classAndMethodName FOR classAndMethodName
...@@ -619,4 +619,4 @@ deactivation concatenating reproducing black railroads railroad radius moz ...@@ -619,4 +619,4 @@ deactivation concatenating reproducing black railroads railroad radius moz
imageio argb bilinear rendering stroke interpolation flip diagrams draw imageio argb bilinear rendering stroke interpolation flip diagrams draw
delim overlap subselect bitwise dclassifier dgenerate compacts chartrand phane delim overlap subselect bitwise dclassifier dgenerate compacts chartrand phane
sval cement slave ulimit eclipselink glenn kidd rapidshare score relevance sval cement slave ulimit eclipselink glenn kidd rapidshare score relevance
autovacuum vacuuming endlessly talking autovacuum vacuuming endlessly talking evicted splitting unbound
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论