OK, let's try again :-)

New patch contains:
- changelog.html (should I do that?)
- help.csv (I followed the example from CHAR_LENGTH vs. CHARACTER_LENGTH)
- Function.java
- test-1.3.txt (did find the unit test. I suspect that test-1.2.txt is
for H2 1.2, as opposed to H2 1.3 and needs not be touched...?)

Cheers
Lukas

N.B: How do I get the tests to run? I get this exception:

C:\Users\lukas\workspace\h2>build.bat test
Target: test
Deleting temp
Deleting docs
Compiling 541 classes
Copying 1 files to temp
Compiling 487 classes
Copying 15 files to temp
Running org.h2.build.doc.GenerateHelp
Javadoc
java.lang.NoClassDefFoundError: RootDoc
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
        at java.lang.Class.getMethod0(Class.java:2670)
        at java.lang.Class.getMethod(Class.java:1603)
        at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:246)
        at 
com.sun.tools.javadoc.DocletInvoker.validOptions(DocletInvoker.java:198)
        at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:317)
        at com.sun.tools.javadoc.Start.begin(Start.java:128)
        at com.sun.tools.javadoc.Main.execute(Main.java:41)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.h2.build.BuildBase.invoke(BuildBase.java:241)
        at org.h2.build.BuildBase.javadoc(BuildBase.java:483)
        at org.h2.build.Build.resources(Build.java:639)
        at org.h2.build.Build.compile(Build.java:195)
        at org.h2.build.Build.compile(Build.java:90)
        at org.h2.build.Build.test(Build.java:670)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.h2.build.BuildBase.invoke(BuildBase.java:241)
        at org.h2.build.BuildBase.runTarget(BuildBase.java:207)
        at org.h2.build.BuildBase.run(BuildBase.java:188)
        at org.h2.build.Build.main(Build.java:35)
Caused by: java.lang.ClassNotFoundException: RootDoc
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 27 more

2012/4/21 Noel Grandin <[email protected]>:
> Hi
>
> Patch is fine. Do you think you could update the documention as well?
>
> Search for truncate in the whole project, it's in an HTML file.
>
> Thanks, Noel Grandin.
>
> On Sat, Apr 21, 2012 at 17:09, Lukas Eder <[email protected]> wrote:
>> It was fairly easy, indeed. Just added another function with the same
>> function ID. Here's the patch. I didn't find any test case for
>> TRUNCATE, which I could've enhanced. I successfully checked this query
>> in the H2 Console, though.
>>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Attachment: trunc.patch
Description: Binary data

Reply via email to