Closed (duplicate)
Project:
Legal
Version:
5.x-1.9
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2008 at 14:52 UTC
Updated:
28 Mar 2009 at 07:49 UTC
This line fails under PostgreSQL:
db_query("INSERT INTO {legal_accepted} (legal_id, uid, tc_id, accepted) VALUES (NULL, '%d', '%d', '%d')", $uid, $tc_id, time());
I'm surprised that it works under MySQL since legal_id is an auto_increment column and shouldn't be given a value at all.
| Comment | File | Size | Author |
|---|---|---|---|
| legal_query_fix.patch | 502 bytes | henrrrik |
Comments
Comment #1
henrrrik commentedTies into #80644: PostgreSQL support