1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
<?xml version="1.0" encoding="utf-8"?>
<test>
<name>Crashing of indexer id64 with keywords dict</name>
<requires>
<id64/>
</requires>
<config>
indexer
{
mem_limit = 64M
}
searchd
{
<searchd_settings/>
}
source srcmain
{
type = mysql
<sql_settings/>
sql_query = SELECT * FROM table141
sql_attr_uint = uint1
}
index main
{
source = srcmain
path = <data_path/>/main
dict = keywords
}
</config>
<sphqueries>
<!-- not necessary, by the fact that the indexer will crash -->
<sphinxql>select * from main where match('00001')</sphinxql>
</sphqueries>
<db_create>
CREATE TABLE `table141`
(
`document_id` int(11) NOT NULL default '0',
`uint1` int(11) NOT NULL default '0',
`body` varchar(25) NOT NULL default ''
)
</db_create>
<db_drop>
DROP TABLE IF EXISTS `table141`
</db_drop>
<db_insert>
INSERT INTO `table141` VALUES (1, 1, '00001'), (2, 2, '00002'), (3, 3, '00003')
</db_insert>
</test>
|