Login | Register
My pages Projects Community openCollabNet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Catacomb] A column name bug in Catacomb

Here is the patch file (see an attachment).
It fixes 2 problems.
The first one: if you have long URIs then MySQL gives errors 
(during operations like move) about wrong name of column. It happens
because in expressions like CREATE TABLE tmp_records SELECT 'xxx',
concat(xxx ...) 
values are used as implicit column names. And because limitations for value
different than for column names it breaks (in this case length of column
name cannot
be longer than 64 chars). 
It can be very easily reporoduced 
- mount Catacomb to something longer than '/repos'. I used GUID as name of
mount point.
- run litmus tests.

The second problem is in linking. The catacomb code is using some functions
from Zlib,
but it it not linked with that library. So, when you run Apache with
catacomb it breakes
because the function isn't found.

I hope that my patch does make any sence,


-----Original Message-----
From: Sung Kim
To: Yuriy Pasichnyk
Cc: 'catacomb@webdav.org'
Sent: 3/4/2003 6:19 PM
Subject: Re: [Catacomb] A column name bug in Catacomb

Thanks for your contributing.
Could you send us a patch file?

You can make a file using 'cvs diff -uN', if you have catacomb cvs

I look forward your patch.

Sung Kim <hunkim@cse.ucsc.edu>

 "Dreams become reality!"

On Tue, 4 Mar 2003, Yuriy Pasichnyk wrote:

> Dear Sirs,
> I have found 2 bugs (related to each other) in current version of
> I found how to fix them as well.
> My question is: how do I submit the changes to incorporate them into
> source ?
> Or maybe I can just describe the changes (they are very very small)
> of generating the patch, etc. ?
> Thanks,
> Yuriy
> _______________________________________________
> Catacomb mailing list
> Catacomb@webdav.org
> http://mailman.webdav.org/mailman/listinfo/catacomb

Attachment: table_name_and_lz.patch
Description: Binary data