nsertThreadStateQuery :: Query
insertThreadStateQuery =
    "Insert into thread_events(thread_id, starttime, duration, state)\
    \values( ? , ? , ? , ? );"

insertThreadStateQuery :: Query
insertThreadStateQuery =
    "Insert into thread_events(thread_id, starttime, duration, state)\
    \values( ? , ? , ? , ? );"
insertThreadStateQuery =
    "Insert into thread_events(thread_id, starttime, duration, state)\
    \values( ? , ? , ? , ? );"