mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Fix for ticket #50. (CVS 582)
FossilOrigin-Name: 82b74a494ac7c751a13e67dcfa7fffb1b98ec808
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
** other files are for internal use by SQLite and should not be
|
||||
** accessed by users of the library.
|
||||
**
|
||||
** $Id: main.c,v 1.76 2002/05/23 02:09:04 drh Exp $
|
||||
** $Id: main.c,v 1.77 2002/05/23 13:15:37 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "os.h"
|
||||
@@ -401,7 +401,7 @@ static void clearHashTable(sqlite *db, int preserveTemps){
|
||||
Trigger * pTrigger = sqliteHashData(pElem);
|
||||
Table *pTab = sqliteFindTable(db, pTrigger->table);
|
||||
assert(pTab);
|
||||
if( pTab->isTemp ){
|
||||
if( pTab->isTemp && preserveTemps ){
|
||||
sqliteHashInsert(&db->trigHash, pTrigger->name, strlen(pTrigger->name),
|
||||
pTrigger);
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user