Fix memos not being deleted on SQL when using 'erase all'
Authored by: romexzf 2008-10-24
Parent: [r1280]
Child: [r1282]