Database query error 1

Can't create/write to file '/tmp/#sql_40da_5.MYI' (Errcode: 28)

(SELECT 'options' AS selectkey, title, content FROM qtoaf3_options) UNION ALL (SELECT 'time', 'db_time', UNIX_TIMESTAMP(NOW()))