There are some duplicate code in table.c, add a static inline functionto eliminate the duplicates.
-- RegardsJunwang Zhao