mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:30:11 +01:00
Use prepare_sphx_statement() for rt index
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
8b94398677
commit
092301e6a6
@ -32,7 +32,7 @@ int store_index_data(struct session_data *sdata, struct parser_state *state, str
|
|||||||
|
|
||||||
|
|
||||||
if(cfg->rtindex){
|
if(cfg->rtindex){
|
||||||
if(prepare_sql_statement(sdata, &sql, SQL_PREPARED_STMT_INSERT_INTO_RT_TABLE) == ERR) return rc;
|
if(prepare_sphx_statement(sdata, &sql, SQL_PREPARED_STMT_INSERT_INTO_RT_TABLE) == ERR) return rc;
|
||||||
} else {
|
} else {
|
||||||
if(prepare_sql_statement(sdata, &sql, SQL_PREPARED_STMT_INSERT_INTO_SPHINX_TABLE) == ERR) return rc;
|
if(prepare_sql_statement(sdata, &sql, SQL_PREPARED_STMT_INSERT_INTO_SPHINX_TABLE) == ERR) return rc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user