Logging schema update, fix connection_id
authoreileenmcnaugton <eileen@fuzion.co.nz>
Fri, 22 Apr 2016 05:54:14 +0000 (17:54 +1200)
committerEileen <eileen@fuzion.co.nz>
Sat, 23 Apr 2016 03:51:17 +0000 (03:51 +0000)
CRM/Logging/Schema.php

index 2c17f7b42b85a61712f82756777f57862db91065..a8a4aa492e0a152769d6e60ae62996f41f4928a9 100644 (file)
@@ -875,7 +875,7 @@ COLS;
         // The log tables have not yet been converted to have varchar(17) fields for log_conn_id.
         // Continue to use the less reliable connection_id for al tables for now.
         $sqlStmt .= "CONNECTION_ID(), @civicrm_user_id, '{eventName}');";
-        $deleteSQL .= "@uniqueID, @civicrm_user_id, '{eventName}');";
+        $deleteSQL .= "CONNECTION_ID(), @civicrm_user_id, '{eventName}');";
       }
 
       $sqlStmt .= "END IF;";