mysql - using insert delayed on duplicate update low_priority all together -


i want mysql statement insert or update using low priority or delayed. doesn't seem working

insert delayed lastaccess             (x, y, timeaccess)             values (2, 4, 1309622646)             on duplicate key update low_priority timeaccess = 1309622646 

your problem here "on duplicate key update" statement. not work insert delayed statement, per documentation:

insert delayed should used insert statements specify value lists. server ignores delayed insert ... select or insert ... on duplicate key update statements.

http://dev.mysql.com/doc/refman/5.5/en/insert-delayed.html


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -