[jifty-devel] schema upgrade packet length limited

Stanislav Sinyagin ssinyagin at yahoo.com
Thu Jan 17 10:11:06 EST 2008


----- Original Message ----
> From: Jesse Vincent <jesse at bestpractical.com>
> To: Nifty apps in a Jiffy <jifty-devel at lists.jifty.org>
> Sent: Thursday, January 17, 2008 3:54:56 PM
> Subject: Re: [jifty-devel] schema upgrade packet length limited
> 
> 
> 
> 
> On Thu, Jan 17, 2008 at 12:30:04AM -0800, Stanislav Sinyagin wrote:
> > (tested with Jifty releasse at CPAN and current SVN too)
> > 
> > schema upgrade command produces an error below. It looks like
> MySQL
> 
 server
> > receives only a part of the upgrade command: the command is cut
> at
> 
 the second 
> > INDEX statement:
> > 
> > [root at lab1 Toponet]# jifty schema --setup
> > ERROR - Toponet::Dispatcher did not return a true value; assuming
> it
> 
 was a dispatcher rule
> > WARN - Application schema version in database (0.0.4) doesn't
> match
> 
 application schema version (0.0.6)
> > WARN - Automatically upgrading your database to match the
> current
> 
 application schema at /usr/lib/perl5/site_perl/5.8.8/Jifty/Handle.pm
> line
> 
 174.
> > Jifty version 0.71129 up to date.
> > 
> > CREATE  INDEX hardware_elements2 ON hardware_elements ( parent ) ;
> 
> 
> ... Wow. I'd really expect each SQL CREATE to be run as its own
> statement. Want to try your hand at a patch to do that?


can't promise anything, I'm a bit novice in Jifty intenals. Besides, I need
to code this application quickly as possible :)






More information about the jifty-devel mailing list