mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 01:31:58 +01:00
src: fixed typo in sql refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
63e21aa7d1
commit
7e67db16ae
@ -72,7 +72,7 @@ uint64 get_metaid_by_messageid(struct session_data *sdata, struct data *data, ch
|
|||||||
if(prepare_sql_statement(sdata, &sql, SQL_PREPARED_STMT_GET_META_ID_BY_MESSAGE_ID) == ERR) return id;
|
if(prepare_sql_statement(sdata, &sql, SQL_PREPARED_STMT_GET_META_ID_BY_MESSAGE_ID) == ERR) return id;
|
||||||
|
|
||||||
p_bind_init(&sql);
|
p_bind_init(&sql);
|
||||||
data->sql[data->pos] = message_id; data->type[data->pos] = TYPE_STRING; data->pos++;
|
sql.sql[sql.pos] = message_id; sql.type[sql.pos] = TYPE_STRING; sql.pos++;
|
||||||
|
|
||||||
if(p_exec_stmt(sdata, &sql) == OK){
|
if(p_exec_stmt(sdata, &sql) == OK){
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user