Updated db_get_table calls for 1.2.10 compatability