Re: [Sqlrelay-discussion] Help please . Error Size of a Query - Segmentation Fault.
Brought to you by:
mused
|
From: David M. <dav...@fi...> - 2006-04-13 13:31:40
|
In SQL Relay 0.37, the max query size is confiugrable in the sqlrelay.conf file. In older versions, it was set by a macro in the src/common/defines.h file and there was a bug in older versions that could cause a crash if the query was too large. If you can upgrade to 0.37, it should solve your problems. If you can't upgrade, then you should be able to edit src/common/defines.h and change the line: #define MAXQUERYSIZE 32768 to #define MAXQUERYSIZE 565536 and rebuild/reinstall to increase the maximum query size. Dave dav...@fi... On Tue, 2006-04-11 at 09:51 +0200, Rony Cohen wrote: > Hello Everybody, > > I'm working with Sql Relay 0.35, with Mysq & PHP5. > > I've got a problem on querying with 2 MEDIUMBLOB inside. > > If My blobs is under 10ko the sent query is OK. > But if it's bigger I've probs : segmentation faults. > > I did : > <!ATTLIST instance maxquerysize CDATA "565536" > > > > for being sure about the size... but this don't work.... > > I need to work with 2 blobs of 150k each.... > > Can someone help me ?? > > Thank you very much. > > > Rony |