[4.2] Database : initalize $record array

Although declaring a variable variable is not a strict requirement, i's a good practice to do it