List:Internals« Previous MessageNext Message »
From:Peter Eisentraut Date:January 27 2001 2:07pm
Subject:crash-me patch
View as plain text  
crash-me version 1.54, shipped with MySQL 3.23.32, is missing a closing
parenthesis in one query.  And you have the standard SQL comments wrong.

--- crash-me.sh.orig    Sat Jan 27 14:52:29 2001
+++ crash-me.sh Sat Jan 27 14:52:57 2001
@@ -1315,7 +1315,7 @@
        "drop table crash_q $drop_attr");

 report("default value function for column",'create_default_func',
-       "create table crash_q (q integer not null,q1 integer default (1+1)",
+       "create table crash_q (q integer not null,q1 integer default (1+1))",
        "drop table crash_q $drop_attr");

 report("temporary tables",'temporary_table',
@@ -1696,11 +1696,11 @@

 report("-- as comment (ANSI)","comment_--",
        "select * from crash_me -- Testing of comments");
-report("// as comment (ANSI)","comment_//",
+report("// as comment","comment_//",
        "select * from crash_me // Testing of comments");
 report("# as comment","comment_#",
        "select * from crash_me # Testing of comments");
-report("/* */ as comment","comment_/**/",
+report("/* */ as comment (ANSI)","comment_/**/",
        "select * from crash_me /* Testing of comments */");

 #


-- 
Peter Eisentraut      peter_e@stripped       http://yi.org/peter-e/

Thread
crash-me patchPeter Eisentraut27 Jan
  • crash-me patchMichael Widenius27 Jan