db: Fix typo in sync_lastauthtuples SQL UPDATE stmt

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2010-06-10 22:26:21 +02:00 committed by Harald Welte
parent 92b2ff5081
commit 31ac307130
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ int db_sync_lastauthtuple_for_subscr(struct gsm_auth_tuple *atuple,
char *issued = atuple->key_seq == atuple_old.key_seq ?
"issued" : "datetime('now')";
result = dbi_conn_queryf(conn,
"UPDATE AuthKeys "
"UPDATE AuthLastTuples "
"SET issued=%s, use_count=%u, "
"key_seq=%u, rand=%s, sres=%s, kc=%s "
"WHERE subscriber_id = %u",