bug fixed: insert problem when the db was empty
Authored by: ldrolez 2003-08-04
Parent: [r241]
Child: [r243]