segmentation fault when a select query (with group by) is run on server with "--single-user" option #2821
Last updated: 2011-07-29 10:52:39 +0200
Date: 2011-06-13 07:46:53 +0200
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:220.127.116.11) Gecko/20110422 Ubuntu/10.10 (maverick) Firefox/3.6.17
On a server started with "--single-user" option, trying to run any select query with group by on Multiple columns crashes the server (segmentation fault). Observed similar behaviour while trying to create Index on a table.
Steps to Reproduce:
1.Start server with "sudo mserver5 --dbfarm='/home/user/work/tmp/data/test' --single-user"
server crashes (segmentation fault)
The select query should fetch the results without crashing the server
Date: 2011-06-13 10:12:14 +0200
The problem appears to be a not (correcly) initialized store_funcs.sorted_col .
sql_trans_is_sorted() tries to call store_funcs.sorted_col(), but that is NULL
I haven't found, yet, where / why store_funcs.sorted_col is not (correctly) initialized in --single-user mode (only) ...
The text was updated successfully, but these errors were encountered: