Re: [SR-Users] raw_query is crashing....

2013-01-08 Thread Daniel-Constantin Mierla
Hello, use gdb to investigate the core you get. Be sure that query variable has enough space, you don't show its declaration. Cheers, Daniel On 1/8/13 2:40 AM, Krishna Kurapati wrote: Hi, Since there is no way to limit the result set to 1, I tried to use raw_query inside msilo module. Ever

[SR-Users] raw_query is crashing....

2013-01-07 Thread Krishna Kurapati
Hi, Since there is no way to limit the result set to 1, I tried to use raw_query inside msilo module. Everytime it executes, it is crashing. The same query if I run in mysql shell, it is returning successfully. Here is the code That I added: query_len = snprintf(query, 2048, "SELECT * FROM %.*s