add length restriction to returned database name
Merge pull request #1 from penguincoder/master

add length restriction to returned database name