Fixing mysql strict errors; adding timestamp support to legacy library