title: 1292 Truncated incorrect DOUBLE value
body: <p>So, i'm trying to update multiple lines with a prepared statement in PDO:</p>
  
  <pre><code>UPDATE uploads SET stored_until=:stored_until WHERE name IN (FIND_IN_SET(uploads.name, :name_list))    
  </code></pre>
  
  <p>And i'm getting an axception </p>
  
  <pre><code>Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1292 Truncated incorrect DOUBLE value: '5320f3c10eb41fe3ceaf65c3b457538e.txt'
  </code></pre>
  
  <p>I understood, that somehow some "name" from Array is counting as a Date, but i can't understand why</p>
  
  <p>Colums, that used in code:</p>
  
  <pre><code>`name` VARCHAR(64) NOT NULL,
  `stored_until` DATE NULL DEFAULT NULL
  </code></pre>
  
  <p>Here's the part, where query executes</p>
  
  <pre><code>$name_list = $json['files'];
  $date = new DateTime($_GET['date']);
  $date-&gt;modify("+2 weeks");
  $query-&gt;execute(array("stored_until" =&gt; $date-&gt;format("Y-m-d"), "name_list" =&gt; $name_list));
  </code></pre>