Branch: Tag:

2016-01-11

2016-01-11 13:42:25 by Martin Karlgren <marty@roxen.com>

Fix the fix for [Bug 7612 (#7612)].

It's the atime field that's signed, so the typecast must be performed on
it rather than the whole expression.

4662:    werror("restore meta %O\n", id );   #endif    array(mapping(string:string)) q = -  QUERY("SELECT meta, CAST(UNIX_TIMESTAMP()-atime AS SIGNED) AS atime_diff " +  QUERY("SELECT meta, UNIX_TIMESTAMP()-CAST(atime AS SIGNED) AS atime_diff "    "FROM "+name+" WHERE id=%s", id );       string s;