mysql - phpMyAdmin affects zero rows but simulation affects 399 -
i running simulation of sql query:
update wp_posts set post_content = ( replace (post_content, 'src="http://', 'src="//') ) instr(post_content, 'jpeg') > 0 or instr(post_content, 'jpg') > 0 or instr(post_content, 'gif') > 0 or instr(post_content, 'png') > 0;
matched rows: 399
which matched 399 rows, when execute it, affects zero.
is there error don't see ??
kindly refer mysql manual update statement - tells...
if set column value has, mysql notices , not update it.
so, if run query, mysql understand value you're trying apply same current 1 specified column, , won't write database. reason getting 0 rows affected...
Comments
Post a Comment