Closed (fixed)
Project:
Google Analytics Statistics
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Apr 2016 at 22:08 UTC
Updated:
24 Jan 2020 at 20:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jrglasgow commentedthis patch makes the nid column a primary key
Comment #3
laxman.ghavte commentedHi jrglasgow,
Reviewed patch working fine.
Comment #5
marcelovaniComment #7
brtamas commentedI have got an error when I enable the module:
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1171 All parts of a PRIMARY KEY must be NOT NULL;
I have created a patch to fix it.
Comment #8
brtamas commentedComment #9
brtamas commentedComment #10
mike.conley commentedRefactoring brtamas' patch above -- the other columns in the primary key can't be NULL either.
Comment #11
mike.conley commentedRefactoring to apply cleanly.
Comment #12
mike.conley commentedUgh. 3rd time is the charm.
Comment #13
mike.conley commentedFound a bug with a db_select query, needed to put the addField method on its own line.