sql_dir_tmp is also unique_string