reset iteration query before continuing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25314 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -737,8 +737,11 @@ static krb5_error_code | ||||
| hdb_sqlite_firstkey(krb5_context context, HDB *db, unsigned flags, | ||||
|                     hdb_entry_ex *entry) | ||||
| { | ||||
|     hdb_sqlite_db *hsdb = (hdb_sqlite_db *) db->hdb_db; | ||||
|     krb5_error_code ret; | ||||
|  | ||||
|     sqlite3_reset(hsdb->get_all_entries); | ||||
|  | ||||
|     ret = hdb_sqlite_nextkey(context, db, flags, entry); | ||||
|     if(ret) | ||||
|         return ret; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand