remove all not just first result
This commit is contained in:
parent
2dd7500ec2
commit
c8b68ae030
@ -105,7 +105,7 @@ void checker()
|
|||||||
sql::bind_int64(get_user_table_id_stmt, 1, data.id);
|
sql::bind_int64(get_user_table_id_stmt, 1, data.id);
|
||||||
sql::bind_int64(get_user_table_id_stmt, 2, data.generation);
|
sql::bind_int64(get_user_table_id_stmt, 2, data.generation);
|
||||||
int64_t user_table_id = 0;
|
int64_t user_table_id = 0;
|
||||||
if (sql::step(get_user_table_id_stmt) != SQL_DONE)
|
while (sql::step(get_user_table_id_stmt) != SQL_DONE)
|
||||||
{
|
{
|
||||||
int type = sql::column_type(get_user_table_id_stmt, 0);
|
int type = sql::column_type(get_user_table_id_stmt, 0);
|
||||||
if (type != SQL_NULL)
|
if (type != SQL_NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user