return NULL instead of message
draft of tdWriteTable
Merge branch 'dev' for tdWriteTable